diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-13 18:42:28 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-13 18:42:28 +0000 |
commit | 42dbf88c398e280c252cb18db6faaeb2f776c913 (patch) | |
tree | 2be42625b41ebb74a306918d27defb0dcf3a1cb3 /gas | |
parent | 037849a9a042086e71aedd90f9e2e8e45a117db0 (diff) | |
download | gdb-42dbf88c398e280c252cb18db6faaeb2f776c913.zip gdb-42dbf88c398e280c252cb18db6faaeb2f776c913.tar.gz gdb-42dbf88c398e280c252cb18db6faaeb2f776c913.tar.bz2 |
#include <limits.h> only if it exists.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/dwarf2dbg.c | 6 |
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" |