aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/c99_alloca.h4
1 files changed, 4 insertions, 0 deletions
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 <malloc.h>
+
#else /* !defined(_MSC_VER) */
# include <alloca.h>