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 ab7aa504a1db6fd6f8cd7bb661524474817cd989..bc57868af28b87b7573b43b86f65f4d72f933930 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 941a75ab05846aa316c18b187dada64fc7b382d8..f2c9773107bf12b34fac0ae57c2358039ec78ea3 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