From d0846bdae816c8cf21c92875fcccf2fb6240a24d Mon Sep 17 00:00:00 2001 From: dhewg Date: Sat, 7 Jan 2012 15:31:21 +0100 Subject: [PATCH] Include malloc.h for alloca for MinGW Newer versions of MinGW do not seem to require this, but older ones do. --- sys/platform.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/platform.h b/sys/platform.h index a95a8ba..1faae4c 100644 --- a/sys/platform.h +++ b/sys/platform.h @@ -189,6 +189,9 @@ If you have questions concerning this license or the applicable additional terms // MSVC does not provide this C99 header #include #endif +#if defined(__MINGW32__) + #include +#endif #include #include #include