From: Hallvard Furuseth Date: Sun, 1 Aug 1999 18:44:32 +0000 (+0000) Subject: Always include , to avoid massive breakage when !STDC_HEADERS. X-Git-Tag: TWEB_OL_BASE~347 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d5840e809fa0208ac4c1529747fb4349d6286fd9;p=openldap Always include , to avoid massive breakage when !STDC_HEADERS. If someone really lacks stdlib.h, they should introduce HAVE_STDLIB_H. --- diff --git a/include/ac/stdlib.h b/include/ac/stdlib.h index fad37d557b..929afafd11 100644 --- a/include/ac/stdlib.h +++ b/include/ac/stdlib.h @@ -12,15 +12,11 @@ #ifndef _AC_STDLIB_H #define _AC_STDLIB_H -#ifdef STDC_HEADERS # include -#else - -# ifdef HAVE_MALLOC_H + /* Not sure if !STDC_HEADERS is needed */ +# if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS) # include # endif -#endif - #endif /* _AC_STDLIB_H */