summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/glapi_dispatch.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-08-23 16:13:12 +0800
committerChia-I Wu <[email protected]>2010-08-23 18:28:14 +0800
commite607b67ebc0d15f6709fc8f9c79afeeda8ac1031 (patch)
treebcf25bdb43346c4760eb4b29938ad64c45195bb6 /src/mapi/glapi/glapi_dispatch.c
parent0c878280506767c38887b71b45af2cb64a0f4abd (diff)
glapi: Clean up header inclusions.
Do not rely on PUBLIC being defined in glapi.h. Do not include core mesa headers.
Diffstat (limited to 'src/mapi/glapi/glapi_dispatch.c')
-rw-r--r--src/mapi/glapi/glapi_dispatch.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/mapi/glapi/glapi_dispatch.c b/src/mapi/glapi/glapi_dispatch.c
index ae59140ad3a..7421a36d35a 100644
--- a/src/mapi/glapi/glapi_dispatch.c
+++ b/src/mapi/glapi/glapi_dispatch.c
@@ -37,18 +37,9 @@
* \author Brian Paul <[email protected]>
*/
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#include "glapi/mesa.h"
-#else
-#include "main/glheader.h"
-#include "main/compiler.h"
-#endif
-
-#include "glapi/glapi.h"
+#include "glapi/glapi_priv.h"
#include "glapi/glapitable.h"
#include "glapi/glapidispatch.h"
-#include "glapi/glthread.h"
#if !(defined(USE_X86_ASM) || defined(USE_X86_64_ASM) || defined(USE_SPARC_ASM))