From: Vinson Lee Date: Mon, 16 Aug 2010 05:07:04 +0000 (-0700) Subject: glsl: Clean up header file inclusion in slang_mem.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97590ebeb0800bd1cd41e2f8f64a4984208251c9;p=mesa.git glsl: Clean up header file inclusion in slang_mem.h. slang_mem.h Remove imports.h. Include glheader.h for GL symbols. slang_label.c Include imports.h now that slang_mem.c does not include it. --- diff --git a/src/mesa/slang/slang_label.c b/src/mesa/slang/slang_label.c index 24881d5b6e6..a1611398008 100644 --- a/src/mesa/slang/slang_label.c +++ b/src/mesa/slang/slang_label.c @@ -7,6 +7,7 @@ */ +#include "main/imports.h" #include "main/mtypes.h" #include "program/prog_instruction.h" #include "slang_label.h" diff --git a/src/mesa/slang/slang_mem.h b/src/mesa/slang/slang_mem.h index b5bfae24791..0f06df3c0c0 100644 --- a/src/mesa/slang/slang_mem.h +++ b/src/mesa/slang/slang_mem.h @@ -27,7 +27,7 @@ #define SLANG_MEM_H -#include "main/imports.h" +#include "main/glheader.h" typedef struct slang_mempool_ slang_mempool;