If we don't have <limits.h>, try including <sys/param.h> if we have it.
authorNick Clifton <nickc@redhat.com>
Thu, 14 Dec 2000 20:16:20 +0000 (20:16 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 14 Dec 2000 20:16:20 +0000 (20:16 +0000)
gas/ChangeLog
gas/dwarf2dbg.c

index 2833ddf7a58f1bd9f567290a167f726c27572989..977bd04d6c5e62a6f8569e22d302c92e3043dbde 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
+       if we have it.
+
 2000-12-13  Kazu Hirata  <kazu@hxi.com>
 
        * as.h: Fix formatting.
index 578b23061751822070eb125ea72ab9a6bc2ed1f3..9080b679b6fadecd437634deb6bb86b8840dca4d 100644 (file)
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 #else
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
 #ifndef INT_MAX
 #define INT_MAX (int) (((unsigned) (-1)) >> 1)
 #endif
-#endif
 
 #ifdef BFD_ASSEMBLER