mojoshader_internal.h
changeset 1257 deb563aadfa0
parent 1255 0135d797e287
child 1277 da61410edbc9
--- a/mojoshader_internal.h	Thu May 21 16:33:35 2020 -0400
+++ b/mojoshader_internal.h	Fri May 22 14:17:09 2020 -0400
@@ -12,8 +12,11 @@
 #include <SDL_assert.h>
 #include <SDL_stdinc.h>
 #include <math.h> /* Needed for isinf/isnan :( */
+
+/* FIXME: These includes are needed for alloca :( */
+#include <stdlib.h>
 #ifndef __APPLE__
-#include <malloc.h> /* Needed for alloca :( */
+#include <malloc.h>
 #endif
 
 /* stdint.h */