mesa: Clean up header file inclusion in colortab.h.
authorVinson Lee <vlee@vmware.com>
Mon, 8 Nov 2010 04:23:15 +0000 (20:23 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 8 Nov 2010 04:23:15 +0000 (20:23 -0800)
src/mesa/main/colortab.h

index ea3ec870fd44e54ae6d5155e9273aae91b8da3c7..ae46d8d236bed32d97145ab018428f2dee31bb13 100644 (file)
 #define COLORTAB_H
 
 
-#include "main/mtypes.h"
+#include "compiler.h"
+#include "glheader.h"
+#include "mfeatures.h"
+
+struct _glapi_table;
+struct gl_color_table;
 
 #if FEATURE_colortable
 
@@ -46,8 +51,6 @@ _mesa_init_colortable_dispatch(struct _glapi_table *disp);
 
 #else /* FEATURE_colortable */
 
-#include "main/compiler.h"
-
 static INLINE void GLAPIENTRY
 _mesa_ColorTable( GLenum target, GLenum internalformat,
                   GLsizei width, GLenum format, GLenum type,