#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 abbb0a1fcf1015b9243db3c90ff2763aced2f631..35ed0efb78d595cf020446e7dda80fd2325b50f7 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 5866cb4ae6bbc20cfaf62c1d4c2bc321e23be89c..a8d8d7e1cfb17f2623ea123b2fbdcba46f3e7b57 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"