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

Vinson Lee vlee at kemper.freedesktop.org
Sun Aug 15 06:00:35 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Aug 14 22:57:47 2010 -0700

glsl: Include missing headers in slang_compile_function.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_log.h for slang_info_log symbols.
Include slang_utility.h for slang_atom and slang_atom_pool symbols.

---

 src/mesa/slang/slang_compile_function.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/mesa/slang/slang_compile_function.h b/src/mesa/slang/slang_compile_function.h
index a5445ec..4def121 100644
--- a/src/mesa/slang/slang_compile_function.h
+++ b/src/mesa/slang/slang_compile_function.h
@@ -25,6 +25,15 @@
 #ifndef SLANG_COMPILE_FUNCTION_H
 #define SLANG_COMPILE_FUNCTION_H
 
+#include "main/glheader.h"
+#include "slang_compile_function.h"
+#include "slang_compile_operation.h"
+#include "slang_compile_variable.h"
+#include "slang_log.h"
+#include "slang_utility.h"
+
+struct slang_name_space_;
+struct slang_operation_;
 
 /**
  * Types of functions.




More information about the mesa-commit mailing list