summaryrefslogtreecommitdiffstats
path: root/src/mesa/slang
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-14 23:18:29 -0700
committerVinson Lee <[email protected]>2010-08-14 23:19:28 -0700
commit8981fae4c3e4ecfbbc41d2469dc48a360a9fc182 (patch)
tree06fa3131bf8dd38e3173569c88ea58a52674745a /src/mesa/slang
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/slang')
-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 90c5512f4d3..7be6f204e11 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_