--- 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