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 8e3a8eb..24881d5 100644 (file)
@@ -7,6 +7,8 @@
  */
 
 
+#include "main/mtypes.h"
+#include "program/prog_instruction.h"
 #include "slang_label.h"
 #include "slang_mem.h"
 
index 4d04df1..b0cff3a 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_
 {