mesa: Clean up header file inclusion in attrib.h.
authorVinson Lee <vlee@vmware.com>
Mon, 8 Nov 2010 03:49:12 +0000 (19:49 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 8 Nov 2010 03:49:12 +0000 (19:49 -0800)
src/mesa/main/attrib.h

index 777781bdf0d55cc12d650a21c73ae020282f5864..d59d31b9be9e4a13fa0e88e75d6de944e4d701a5 100644 (file)
 #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 )
 {