summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/texgen.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/texgen.h b/src/mesa/main/texgen.h
index 397d89e630f..2224a937611 100644
--- a/src/mesa/main/texgen.h
+++ b/src/mesa/main/texgen.h
@@ -27,7 +27,10 @@
#define TEXGEN_H
-#include "main/mtypes.h"
+#include "compiler.h"
+#include "glheader.h"
+
+struct _glapi_table;
#if FEATURE_texgen