aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-14 20:16:20 +0000
committerNick Clifton <nickc@redhat.com>2000-12-14 20:16:20 +0000
commit6717891cd060440e899c720f2d060f1a9291a5f7 (patch)
tree0c7d4dc0f2137fe4a5ec74ea94f268aec51a9fb0 /gas/dwarf2dbg.c
parent6477a14af7459507da6e7acf40dc5b559709602a (diff)
downloadgdb-6717891cd060440e899c720f2d060f1a9291a5f7.zip
gdb-6717891cd060440e899c720f2d060f1a9291a5f7.tar.gz
gdb-6717891cd060440e899c720f2d060f1a9291a5f7.tar.bz2
If we don't have <limits.h>, try including <sys/param.h> if we have it.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 578b230..9080b67 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -33,10 +33,12 @@
#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