From d5840e809fa0208ac4c1529747fb4349d6286fd9 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 1 Aug 1999 18:44:32 +0000 Subject: [PATCH] Always include , to avoid massive breakage when !STDC_HEADERS. If someone really lacks stdlib.h, they should introduce HAVE_STDLIB_H. --- include/ac/stdlib.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 */ -- 2.39.5