From: Jim Meyering Date: Sun, 30 Jul 1995 18:48:43 +0000 (+0000) Subject: [_LIBC]: Define HAVE_LIMITS_H. [HAVE_LIMITS_H]: Include it. X-Git-Tag: cvs/libc-950922~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c685ebb794b8d079a47a985260291db59069116;p=thirdparty%2Fglibc.git [_LIBC]: Define HAVE_LIMITS_H. [HAVE_LIMITS_H]: Include it. --- diff --git a/stdlib/strtol.c b/stdlib/strtol.c index 42f7f24fe90..1d63bbeb2d6 100644 --- a/stdlib/strtol.c +++ b/stdlib/strtol.c @@ -24,11 +24,18 @@ Cambridge, MA 02139, USA. */ #ifdef _LIBC # define USE_NUMBER_GROUPING # define STDC_HEADERS +# define HAVE_LIMITS_H #endif #include #include -#include +#ifndef errno +extern int errno; +#endif + +#if HAVE_LIMITS_H +# include +#endif #ifdef STDC_HEADERS # include