Fix build errors.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 19 Nov 2007 17:23:55 +0000 (17:23 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 22 Nov 2007 11:43:58 +0000 (11:43 +0000)
src/mesa/state_tracker/st_mesa_to_tgsi.c
src/mesa/state_tracker/st_mesa_to_tgsi.h

index ab7aa50..bc57868 100644 (file)
@@ -34,6 +34,7 @@
 #include "tgsi_platform.h"
 #include "pipe/tgsi/exec/tgsi_core.h"
 #include "st_mesa_to_tgsi.h"
+#include "shader/prog_instruction.h"
 #include "shader/prog_parameter.h"
 
 #define TGSI_DEBUG 0
index 941a75a..f2c9773 100644 (file)
 #ifndef ST_MESA_TO_TGSI_H\r
 #define ST_MESA_TO_TGSI_H\r
 \r
+#include "GL/gl.h"\r
+\r
+\r
 #if defined __cplusplus\r
 extern "C" {\r
 #endif\r
 \r
 struct tgsi_token;\r
+struct gl_program;\r
 \r
 GLboolean\r
 tgsi_translate_mesa_program(\r