summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <[email protected]>2010-02-25 17:52:04 +0200
committerGeorge Sapountzis <[email protected]>2010-02-25 17:52:04 +0200
commitec91810147425f4123ec80117109925e054cc66d (patch)
tree159ef1edbee94d52986b15528b1b50899cbbab9e /src/mesa/glapi/glapi.c
parent8ae701cbc9fc8d2e0e710aea7ef3b0fa68dcec73 (diff)
glapi: minor ugliness to be able to copy to xorg
Diffstat (limited to 'src/mesa/glapi/glapi.c')
-rw-r--r--src/mesa/glapi/glapi.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index 469523d57cf..631ffba3c7f 100644
--- a/src/mesa/glapi/glapi.c
+++ b/src/mesa/glapi/glapi.c
@@ -51,22 +51,11 @@
#ifdef HAVE_DIX_CONFIG_H
-
#include <dix-config.h>
-#define PUBLIC
-
+#include "glapi/mesa.h"
#else
-
#include "main/glheader.h"
-
-#endif
-
#include "main/compiler.h"
-
-#include <stdlib.h>
-#include <string.h>
-#ifdef DEBUG
-#include <assert.h>
#endif
#include "glapi/glapi.h"