glsl: Clean up header file inclusion in slang_label.h.
authorVinson Lee <vlee@vmware.com>
Sun, 15 Aug 2010 07:59:34 +0000 (00:59 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 15 Aug 2010 08:01:58 +0000 (01:01 -0700)
Move mtypes.h and prog_instruction.h to slang_label.c.
Remove imports.h.
Include glheader.h from GL symbols.

src/mesa/slang/slang_label.c
src/mesa/slang/slang_label.h

index 8e3a8ebc1aaae3c6987c01eac2e77cff65c81afb..24881d5b6e699b98331ce9f0d43dc1c444d3eeca 100644 (file)
@@ -7,6 +7,8 @@
  */
 
 
+#include "main/mtypes.h"
+#include "program/prog_instruction.h"
 #include "slang_label.h"
 #include "slang_mem.h"
 
index 4d04df18d25c279df26f9bc00139c17dd850c910..b0cff3a8e89d942f9f9c2b3a39c48d706d606bf8 100644 (file)
@@ -1,10 +1,9 @@
 #ifndef SLANG_LABEL_H
 #define SLANG_LABEL_H 1
 
-#include "main/imports.h"
-#include "main/mtypes.h"
-#include "program/prog_instruction.h"
+#include "main/glheader.h"
 
+struct gl_program;
 
 struct slang_label_
 {