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:
Vinson Lee 2015-03-01 13:52:00 -07:00 committed by Brian Paul
parent 6f0e9c2e39
commit 3de01d2fe4
1 changed files with 1 additions and 5 deletions

View File

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