From 4927299cb964683535706c6983f2d412ddc8359a 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. --- neo/sys/platform.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neo/sys/platform.h b/neo/sys/platform.h index a95a8bab..1faae4c3 100644 --- a/neo/sys/platform.h +++ b/neo/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