From: John Tsiombikas Date: Mon, 3 Oct 2016 05:23:00 +0000 (+0300) Subject: forgot to conditionally include malloc.h for alloca on watcom and msvc X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=commitdiff_plain;h=11d54c8e4c441a29031ae37a6cbf83de43b9271c forgot to conditionally include malloc.h for alloca on watcom and msvc --- 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"