Mesa (master): glsl: Include missing headers in slang_print.h.
Vinson Lee
vlee at kemper.freedesktop.org
Sun Aug 15 06:15:14 UTC 2010
Module: Mesa
Branch: master
Commit: f1702b180858856dd4dfb38a3571732ad21de300
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1702b180858856dd4dfb38a3571732ad21de300
Author: Vinson Lee <vlee at vmware.com>
Date: Sat Aug 14 23:14:42 2010 -0700
glsl: Include missing headers in slang_print.h.
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 | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/mesa/slang/slang_print.h b/src/mesa/slang/slang_print.h
index 46605c8..99da304 100644
--- a/src/mesa/slang/slang_print.h
+++ b/src/mesa/slang/slang_print.h
@@ -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);
More information about the mesa-commit
mailing list