glsl: Include missing headers in slang_print.h.
authorVinson Lee <vlee@vmware.com>
Sun, 15 Aug 2010 06:14:42 +0000 (23:14 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 15 Aug 2010 06:14:42 +0000 (23:14 -0700)
Include glheader.h for GL symbols.
Include slang_compile_function.h for slang_function symbol.
Include slang_compile_operation.h for slang_operation symbol.
Include slang_compile_variable.h for slang_variable and slang_variable_scope symbols.
Include slang_typeinfo.h for slang_type_qualifer and slang_fully_specified_type symbols.

src/mesa/slang/slang_print.h

index 46605c8..99da304 100644 (file)
@@ -3,6 +3,12 @@
 #ifndef SLANG_PRINT
 #define SLANG_PRINT
 
+#include "main/glheader.h"
+#include "slang_compile_function.h"
+#include "slang_compile_operation.h"
+#include "slang_compile_variable.h"
+#include "slang_typeinfo.h"
+
 extern void
 slang_print_function(const slang_function *f, GLboolean body);