summaryrefslogtreecommitdiff
path: root/src/mesa/main/colortab.h
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-11-07 20:23:15 -0800
committerVinson Lee <vlee@vmware.com>2010-11-07 20:23:15 -0800
commitcc0c45e7c538c0bb0b20310ed6f21e358e227e20 (patch)
treebc2545f012f07ced98866e744e0fda5b9b89271d /src/mesa/main/colortab.h
parentfdf317400721e086facbb8fd58307a92c385ed6b (diff)
mesa: Clean up header file inclusion in colortab.h.
Diffstat (limited to 'src/mesa/main/colortab.h')
-rw-r--r--src/mesa/main/colortab.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/main/colortab.h b/src/mesa/main/colortab.h
index ea3ec870fd..ae46d8d236 100644
--- a/src/mesa/main/colortab.h
+++ b/src/mesa/main/colortab.h
@@ -27,7 +27,12 @@
#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,