#include <limits.h> only if it exists.
authorNick Clifton <nickc@redhat.com>
Wed, 13 Dec 2000 18:42:28 +0000 (18:42 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 13 Dec 2000 18:42:28 +0000 (18:42 +0000)
gas/ChangeLog
gas/dwarf2dbg.c

index abbb0a1..35ed0ef 100644 (file)
@@ -1,3 +1,7 @@
+2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * dwarf2dbg.c: #include <limits.h> only if it exists.
+
 2000-12-13  Rodney Brown  <RodneyBrown@mynd.com>
 
        * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
index 5866cb4..a8d8d7e 100644 (file)
    FILENO is the filenumber.  */
 
 #include "ansidecl.h"
-#include <limits.h>
-
 #include "as.h"
 
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
 #ifdef BFD_ASSEMBLER
 
 #include "dwarf2dbg.h"