summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi_nop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/glapi_nop.c')
-rw-r--r--src/mesa/glapi/glapi_nop.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/glapi/glapi_nop.c b/src/mesa/glapi/glapi_nop.c
index aa84b9a169e..b1a718a5f0a 100644
--- a/src/mesa/glapi/glapi_nop.c
+++ b/src/mesa/glapi/glapi_nop.c
@@ -38,8 +38,14 @@
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#include "glapi/mesa.h"
+#else
#include "main/compiler.h"
#include "main/glheader.h"
+#endif
+
#include "glapi/glapi.h"
#ifdef DEBUG