From 59a05f0f26eabccd9f9a038ec067c719e1f4c9e6 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 17 Apr 2009 04:15:47 -0400 Subject: [PATCH] Need alloca.h on Solaris. --- mojoshader_internal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mojoshader_internal.h b/mojoshader_internal.h index c88309df..5ac31415 100644 --- a/mojoshader_internal.h +++ b/mojoshader_internal.h @@ -82,6 +82,10 @@ typedef uint32_t uint32; typedef int32_t int32; #endif +#ifdef sun +#include +#endif + #ifdef __GNUC__ #define ISPRINTF(x,y) __attribute__((format (printf, x, y))) #else