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

Vinson Lee vlee at kemper.freedesktop.org
Sun Aug 15 05:44:27 UTC 2010


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

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

glsl: Include missing headers in slang_compiler_operation.h.

Include glheader.h for GL symbols.
Include slang_compile_variable.h for slang_variable_scope symbol.
Include slang_utility.h for slang_atom symbol.

---

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

diff --git a/src/mesa/slang/slang_compile_operation.h b/src/mesa/slang/slang_compile_operation.h
index 1f15c19..b8c5f21 100644
--- a/src/mesa/slang/slang_compile_operation.h
+++ b/src/mesa/slang/slang_compile_operation.h
@@ -26,6 +26,10 @@
 #define SLANG_COMPILE_OPERATION_H
 
 
+#include "main/glheader.h"
+#include "slang_compile_variable.h"
+#include "slang_utility.h"
+
 /**
  * Types of slang operations.
  * These are the types of the AST (abstract syntax tree) nodes.




More information about the mesa-commit mailing list