glsl: Include missing headers in slang_compile_struct.h.
authorVinson Lee <vlee@vmware.com>
Sun, 15 Aug 2010 06:18:29 +0000 (23:18 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 15 Aug 2010 06:19:28 +0000 (23:19 -0700)
Include glheader.h for GL symbols.
Include slang_utility.h for slang_atom symbol.

src/mesa/slang/slang_compile_struct.h

index 90c5512..7be6f20 100644 (file)
@@ -29,6 +29,9 @@
 extern "C" {
 #endif
 
+#include "main/glheader.h"
+#include "slang_utility.h"
+
 struct slang_function_;
 
 typedef struct slang_struct_scope_