Skip to content
Snippets Groups Projects
Commit d5840e80 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

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

If someone really lacks stdlib.h, they should introduce HAVE_STDLIB_H.
parent d35191a2
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment