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 */