Need alloca.h on Solaris.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 17 Apr 2009 04:15:47 -0400
changeset 756 9e06e970a730
parent 755 6a7aa96c51c7
child 757 29b25b4c7aeb
Need alloca.h on Solaris.
mojoshader_internal.h
--- a/mojoshader_internal.h	Thu Apr 09 19:36:42 2009 -0400
+++ b/mojoshader_internal.h	Fri Apr 17 04:15:47 2009 -0400
@@ -82,6 +82,10 @@
 typedef int32_t int32;
 #endif
 
+#ifdef sun
+#include <alloca.h>
+#endif
+
 #ifdef __GNUC__
 #define ISPRINTF(x,y) __attribute__((format (printf, x, y)))
 #else