Always include <stdlib.h>, to avoid massive breakage when !STDC_HEADERS.

If someone really lacks stdlib.h, they should introduce HAVE_STDLIB_H.
This commit is contained in:
Hallvard Furuseth 1999-08-01 18:44:32 +00:00
parent d35191a20a
commit d5840e809f

View file

@ -12,15 +12,11 @@
#ifndef _AC_STDLIB_H
#define _AC_STDLIB_H
#ifdef STDC_HEADERS
# include <stdlib.h>
#else
# ifdef HAVE_MALLOC_H
/* Not sure if !STDC_HEADERS is needed */
# if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)
# include <malloc.h>
# endif
#endif
#endif /* _AC_STDLIB_H */