From a451eef0cb4c54cbe5ec2d32f7cb773e999d564d Mon Sep 17 00:00:00 2001 From: law Date: Sun, 23 Jul 2000 19:13:46 +0000 Subject: * configure.in (AC_CHECK_HEADERS): Add limits.h. * configure, config.in: Regenerate. * sort.c: Portably #include and/or . * strtol.c, strtoul.c: #include "config.h". Portably #include and/or . * Makefile.in (strtol.o, strtoul.o): Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35211 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/strtol.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libiberty/strtol.c') diff --git a/libiberty/strtol.c b/libiberty/strtol.c index b4c66c403f7..c05d0dd76a2 100644 --- a/libiberty/strtol.c +++ b/libiberty/strtol.c @@ -28,7 +28,15 @@ * SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +#ifdef HAVE_LIMITS_H #include +#endif +#ifdef HAVE_SYS_PARAM_H +#include +#endif #include #include #ifdef NEED_DECLARATION_ERRNO -- cgit v1.2.3