summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/dispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/dispatch.h')
-rw-r--r--src/mesa/glapi/dispatch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/glapi/dispatch.h b/src/mesa/glapi/dispatch.h
index dafcf3e8f24..6623d524692 100644
--- a/src/mesa/glapi/dispatch.h
+++ b/src/mesa/glapi/dispatch.h
@@ -26,7 +26,12 @@
#ifndef _DISPATCH_H
#define _DISPATCH_H
+#ifdef IN_DRI_DRIVER
+#define _GLAPI_USE_REMAP_TABLE
+#endif
+
#include "glapitable.h"
+#include "glapioffsets.h"
#include "glapidispatch.h"
#endif /* _DISPATCH_H */