summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-08-14 23:18:29 -0700
committerVinson Lee <vlee@vmware.com>2010-08-14 23:19:28 -0700
commit8981fae4c3e4ecfbbc41d2469dc48a360a9fc182 (patch)
tree06fa3131bf8dd38e3173569c88ea58a52674745a /src/mesa
parentd5a86f9fc9fc96a0d771c0409b557636ef89f350 (diff)
glsl: Include missing headers in slang_compile_struct.h.
Include glheader.h for GL symbols. Include slang_utility.h for slang_atom symbol.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/slang/slang_compile_struct.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/slang/slang_compile_struct.h b/src/mesa/slang/slang_compile_struct.h
index 90c5512f4d..7be6f204e1 100644
--- a/src/mesa/slang/slang_compile_struct.h
+++ b/src/mesa/slang/slang_compile_struct.h
@@ -29,6 +29,9 @@
extern "C" {
#endif
+#include "main/glheader.h"
+#include "slang_utility.h"
+
struct slang_function_;
typedef struct slang_struct_scope_