summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlist.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/dlist.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/dlist.h')
-rw-r--r--src/mesa/main/dlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h
index f8255facc5e..d3f5c5cb4e5 100644
--- a/src/mesa/main/dlist.h
+++ b/src/mesa/main/dlist.h
@@ -81,6 +81,8 @@ extern void _mesa_init_dlist_dispatch(struct _glapi_table *disp);
#else /* FEATURE_dlist */
+#include "main/compiler.h"
+
#define _MESA_INIT_DLIST_FUNCTIONS(driver, impl) do { } while (0)
#define _MESA_INIT_DLIST_VTXFMT(vfmt, impl) do { } while (0)