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/sort.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/sort.c')
-rw-r--r-- | libiberty/sort.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libiberty/sort.c b/libiberty/sort.c index da2d660..90c97e0 100644 --- a/libiberty/sort.c +++ b/libiberty/sort.c @@ -24,7 +24,12 @@ Boston, MA 02111-1307, USA. */ #endif #include "libiberty.h" #include "sort.h" +#ifdef HAVE_LIMITS_H #include <limits.h> +#endif +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif |