summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/attrib.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/main/attrib.h b/src/mesa/main/attrib.h
index 777781bdf0d..d59d31b9be9 100644
--- a/src/mesa/main/attrib.h
+++ b/src/mesa/main/attrib.h
@@ -26,8 +26,12 @@
#define ATTRIB_H
-#include "main/mtypes.h"
+#include "compiler.h"
+#include "glheader.h"
+#include "mfeatures.h"
+struct _glapi_table;
+struct gl_context;
#if FEATURE_attrib_stack
@@ -48,8 +52,6 @@ _mesa_init_attrib_dispatch(struct _glapi_table *disp);
#else /* FEATURE_attrib_stack */
-#include "main/compiler.h"
-
static INLINE void
_mesa_PushClientAttrib( GLbitfield mask )
{