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 90c5512f4d3ec6254c95044f01081b05cb7c3833..7be6f204e11a47090b113eed737f457c0cf6bd81 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_