Mesa (master): mesa: Clean up header file inclusion in attrib.h.
Vinson Lee
vlee at kemper.freedesktop.org
Mon Nov 8 03:49:33 UTC 2010
Module: Mesa
Branch: master
Commit: 42a8af9239ee2707c06d089c0c981c4d56c1f115
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=42a8af9239ee2707c06d089c0c981c4d56c1f115
Author: Vinson Lee <vlee at vmware.com>
Date: Sun Nov 7 19:49:12 2010 -0800
mesa: Clean up header file inclusion in attrib.h.
---
src/mesa/main/attrib.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/attrib.h b/src/mesa/main/attrib.h
index 777781b..d59d31b 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 )
{
More information about the mesa-commit
mailing list