From a48a4d5c63a95d3a7060ec8db129c9a25c7dffca Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 30 Nov 2000 20:27:49 +0000 Subject: Include if HAVE_STDINT_H. (SIZE_MAX): Renamed from SIZE_T_MAX, as C99 uses SIZE_MAX. All uses changed. --- src/sys2.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/sys2.h b/src/sys2.h index bcc70e043..6322482da 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -167,6 +167,10 @@ char *alloca (); # include #endif +#if HAVE_STDINT_H +# include +#endif + #include /* Jim Meyering writes: @@ -519,8 +523,8 @@ enum # define ULONG_MAX TYPE_MAXIMUM (unsigned long) #endif -#ifndef SIZE_T_MAX -# define SIZE_T_MAX TYPE_MAXIMUM (size_t) +#ifndef SIZE_MAX +# define SIZE_MAX TYPE_MAXIMUM (size_t) #endif #ifndef UID_T_MAX -- cgit v1.2.3-70-g09d2