diff options
author | Michael Sokolov <msokolov@ivan.Harhan.ORG> | 2000-07-23 19:13:46 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-07-23 13:13:46 -0600 |
commit | cd44736010929b5e06f932279960a16165c59449 (patch) | |
tree | 64868a9a44b9667e36f20169a0e9c39e713a113e /libiberty/strtol.c | |
parent | 0fac482ed6eba252d1b1753f48a49da7fa9175cc (diff) | |
download | gcc-cd44736010929b5e06f932279960a16165c59449.zip gcc-cd44736010929b5e06f932279960a16165c59449.tar.gz gcc-cd44736010929b5e06f932279960a16165c59449.tar.bz2 |
configure.in (AC_CHECK_HEADERS): Add limits.h.
* configure.in (AC_CHECK_HEADERS): Add limits.h.
* configure, config.in: Regenerate.
* sort.c: Portably #include <limits.h> and/or <sys/param.h>.
* strtol.c, strtoul.c: #include "config.h". Portably #include
<limits.h> and/or <sys/param.h>.
* Makefile.in (strtol.o, strtoul.o): Update dependencies.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r35211
Diffstat (limited to 'libiberty/strtol.c')
-rw-r--r-- | libiberty/strtol.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libiberty/strtol.c b/libiberty/strtol.c index b4c66c4..c05d0dd 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 <limits.h> +#endif +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif #include <ctype.h> #include <errno.h> #ifdef NEED_DECLARATION_ERRNO |