summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2008-05-21 11:59:23 -0400
committerKristian Høgsberg <[email protected]>2008-05-21 12:13:39 -0400
commitc30fe8fd7cf25f620cf3480416a514172edef0bf (patch)
tree277db9e70bdf0fce56c6a14c41655c49853a0b4f /src/mesa/glapi/glapi.c
parent1b359bc88e4f98f9aab454c270684172ae0e46ca (diff)
Make the shared glapi files not include glheader.h.
Diffstat (limited to 'src/mesa/glapi/glapi.c')
-rw-r--r--src/mesa/glapi/glapi.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index 36b09e68e50..c4d101aee55 100644
--- a/src/mesa/glapi/glapi.c
+++ b/src/mesa/glapi/glapi.c
@@ -51,10 +51,19 @@
#ifdef HAVE_DIX_CONFIG_H
+
#include <dix-config.h>
-#endif
+#define PUBLIC
+
+#else
#include "glheader.h"
+
+#endif
+
+#include <stdlib.h>
+#include <string.h>
+
#include "glapi.h"
#include "glapioffsets.h"
#include "glapitable.h"