Mesa (master): glsl: Include missing headers in slang_compile_variable.h.

Vinson Lee vlee at kemper.freedesktop.org
Sat Aug 14 22:17:49 UTC 2010


Module: Mesa
Branch: master
Commit: fcd2da4e7a05b0e3bdf975a96ab294ad1d9a36e3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcd2da4e7a05b0e3bdf975a96ab294ad1d9a36e3

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Aug 14 15:16:14 2010 -0700

glsl: Include missing headers in slang_compile_variable.h.

Include glheader.h for GL symbols.
Include slang_typeinfo.h for slang_fully_specified_type symbol.
Include slang_utility.h for slang_atom symbol.

---

 src/mesa/slang/slang_compile_variable.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/mesa/slang/slang_compile_variable.h b/src/mesa/slang/slang_compile_variable.h
index 5c9d248..48dc6ef 100644
--- a/src/mesa/slang/slang_compile_variable.h
+++ b/src/mesa/slang/slang_compile_variable.h
@@ -26,7 +26,9 @@
 #define SLANG_COMPILE_VARIABLE_H
 
 
-struct slang_ir_storage_;
+#include "main/glheader.h"
+#include "slang_typeinfo.h"
+#include "slang_utility.h"
 
 
 /**




More information about the mesa-commit mailing list