This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] to gas: portability fix
- To: binutils at sources dot redhat dot com
- Subject: [patch] to gas: portability fix
- From: msokolov at ivan dot Harhan dot ORG (Michael Sokolov)
- Date: Tue, 12 Dec 00 22:43:44 PST
Hi there,
Below is an obvious portability patch for gas.
--
Michael Sokolov
Public Service Agent
International Engineering and Science Task Force
1351 VINE AVE APT 27 Phone: +1-714-738-5409
FULLERTON CA 92833-4291 USA (home office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP)
Tue Dec 12 22:40:26 PST 2000 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* dwarf2dbg.c: #include <limits.h> only if it exists.
Index: dwarf2dbg.c
===================================================================
RCS file: /cvs/src/src/gas/dwarf2dbg.c,v
retrieving revision 1.24
diff -p -r1.24 dwarf2dbg.c
*** dwarf2dbg.c 2000/12/12 21:21:39 1.24
--- dwarf2dbg.c 2000/12/13 06:42:32
***************
*** 28,36 ****
FILENO is the filenumber. */
#include "ansidecl.h"
- #include <limits.h>
-
#include "as.h"
#ifdef BFD_ASSEMBLER
--- 28,38 ----
FILENO is the filenumber. */
#include "ansidecl.h"
#include "as.h"
+
+ #ifdef HAVE_LIMITS_H
+ #include <limits.h>
+ #endif
#ifdef BFD_ASSEMBLER