From 4fef77c7c5455b983daa93cacf90d2b3baa3967e Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 14 Aug 2010 22:57:47 -0700 Subject: [PATCH] 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 file changed, 9 insertions(+) diff --git a/src/mesa/slang/slang_compile_function.h b/src/mesa/slang/slang_compile_function.h index a5445ec2537..4def121f7ac 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. -- 2.30.2