aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-13 18:42:28 +0000
committerNick Clifton <nickc@redhat.com>2000-12-13 18:42:28 +0000
commit42dbf88c398e280c252cb18db6faaeb2f776c913 (patch)
tree2be42625b41ebb74a306918d27defb0dcf3a1cb3 /gas/dwarf2dbg.c
parent037849a9a042086e71aedd90f9e2e8e45a117db0 (diff)
downloadgdb-42dbf88c398e280c252cb18db6faaeb2f776c913.zip
gdb-42dbf88c398e280c252cb18db6faaeb2f776c913.tar.gz
gdb-42dbf88c398e280c252cb18db6faaeb2f776c913.tar.bz2
#include <limits.h> only if it exists.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c6
1 files changed, 4 insertions, 2 deletions
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"