As with MSVC, include malloc.h but don't redefine alloca. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89364 --- include/c99_alloca.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/include/c99_alloca.h b/include/c99_alloca.h index 6d96d06..7a81c50 100644 --- a/include/c99_alloca.h +++ b/include/c99_alloca.h @@ -35,6 +35,10 @@ # define alloca _alloca +#elif defined(__MINGW32__) + +# include <malloc.h> + #else /* !defined(_MSC_VER) */ # include <alloca.h> -- 1.9.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev