From 11d54c8e4c441a29031ae37a6cbf83de43b9271c Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Mon, 3 Oct 2016 08:23:00 +0300 Subject: [PATCH] forgot to conditionally include malloc.h for alloca on watcom and msvc --- src/polyfill.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/polyfill.c b/src/polyfill.c index 122b234..80bfee5 100644 --- a/src/polyfill.c +++ b/src/polyfill.c @@ -2,7 +2,11 @@ #include #include #include +#if defined(__WATCOMC__) || defined(_MSC_VER) +#include +#else #include +#endif #include "polyfill.h" #include "gfxutil.h" #include "demo.h" -- 1.7.10.4