From: Vinson Lee Date: Sun, 1 Mar 2015 20:52:00 +0000 (-0700) Subject: c99_alloca.h: Include stdlib.h on all non-Windows. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3de01d2fe46652471362bcb8a527f59e0bb81cfc;p=mesa.git 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 Tested-by: Brian Paul --- diff --git a/include/c99_alloca.h b/include/c99_alloca.h index 7a81c50e0d7..575f719af87 100644 --- a/include/c99_alloca.h +++ b/include/c99_alloca.h @@ -35,13 +35,9 @@ # define alloca _alloca -#elif defined(__MINGW32__) - -# include - #else /* !defined(_MSC_VER) */ -# include +# include #endif /* !defined(_MSC_VER) */