summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-08-20 10:27:26 +0800
committerChia-I Wu <[email protected]>2010-08-20 19:22:51 +0800
commit8043bf555e14cf20826753d59d66d0cef7a5e5a0 (patch)
tree92bb7ba758e7c7340f929ad74b1f11e30fd0ad1d /src/mesa/main/attrib.h
parent5004f823ad3c82ec0b50822a4889798c81ce1cfc (diff)
mesa: Include compiler.h for ASSERT.
mfeatures.h defines ASSERT_NO_FEATURE to ASSERT, which is defined in compiler.h. Header files using the macro should include compiler.h.
Diffstat (limited to 'src/mesa/main/attrib.h')
-rw-r--r--src/mesa/main/attrib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/attrib.h b/src/mesa/main/attrib.h
index 6b48a176630..83b28a65b77 100644
--- a/src/mesa/main/attrib.h
+++ b/src/mesa/main/attrib.h
@@ -48,6 +48,8 @@ _mesa_init_attrib_dispatch(struct _glapi_table *disp);
#else /* FEATURE_attrib_stack */
+#include "main/compiler.h"
+
static INLINE void
_mesa_PushClientAttrib( GLbitfield mask )
{