c99_alloca.h: Include stdlib.h on all non-Windows.
Fix build on FreeBSD. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89364 Signed-off-by: Vinson Lee <vlee@freedesktop.org> Tested-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
6f0e9c2e39
commit
3de01d2fe4
|
@ -35,13 +35,9 @@
|
|||
|
||||
# define alloca _alloca
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
|
||||
# include <malloc.h>
|
||||
|
||||
#else /* !defined(_MSC_VER) */
|
||||
|
||||
# include <alloca.h>
|
||||
# include <stdlib.h>
|
||||
|
||||
#endif /* !defined(_MSC_VER) */
|
||||
|
||||
|
|
Loading…
Reference in New Issue