Mesa (master): glsl: Include missing headers in slang_compile_struct.h.
Vinson Lee
vlee at kemper.freedesktop.org
Sun Aug 15 06:19:46 UTC 2010
Module: Mesa
Branch: master
Commit: 8981fae4c3e4ecfbbc41d2469dc48a360a9fc182
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8981fae4c3e4ecfbbc41d2469dc48a360a9fc182
Author: Vinson Lee <vlee at vmware.com>
Date: Sat Aug 14 23:18:29 2010 -0700
glsl: Include missing headers in slang_compile_struct.h.
Include glheader.h for GL symbols.
Include slang_utility.h for slang_atom symbol.
---
src/mesa/slang/slang_compile_struct.h | 3 +++
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 90c5512..7be6f20 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_
More information about the mesa-commit
mailing list