aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/dwarf2dbg.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index abbb0a1..35ed0ef 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 5866cb4..a8d8d7e 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -28,10 +28,12 @@
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"