From 098e5bf3b37431af2a9156789cbc9534f0b70235 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 27 Feb 2015 13:03:03 -0700 Subject: [PATCH] c99_alloca.h: fix #include for MinGW MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit As with MSVC, include malloc.h but don't redefine alloca. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89364 Reviewed-by: José Fonseca --- include/c99_alloca.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/c99_alloca.h b/include/c99_alloca.h index 6d96d063e4b..7a81c50e0d7 100644 --- a/include/c99_alloca.h +++ b/include/c99_alloca.h @@ -35,6 +35,10 @@ # define alloca _alloca +#elif defined(__MINGW32__) + +# include + #else /* !defined(_MSC_VER) */ # include -- 2.30.2