summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/glthread.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsapountzis@gmail.com>2010-02-25 17:52:04 +0200
committerGeorge Sapountzis <gsapountzis@gmail.com>2010-02-25 17:52:04 +0200
commitec91810147425f4123ec80117109925e054cc66d (patch)
tree159ef1edbee94d52986b15528b1b50899cbbab9e /src/mesa/glapi/glthread.c
parent8ae701cbc9fc8d2e0e710aea7ef3b0fa68dcec73 (diff)
glapi: minor ugliness to be able to copy to xorg
Diffstat (limited to 'src/mesa/glapi/glthread.c')
-rw-r--r--src/mesa/glapi/glthread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/glapi/glthread.c b/src/mesa/glapi/glthread.c
index 1c2c386571..be4e2f754d 100644
--- a/src/mesa/glapi/glthread.c
+++ b/src/mesa/glapi/glthread.c
@@ -30,9 +30,11 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
+#include "glapi/mesa.h"
+#else
+#include "main/compiler.h"
#endif
-#include "main/compiler.h"
#include "glapi/glthread.h"