aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/dispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glx/dispatch.h')
-rw-r--r--xorg-server/glx/dispatch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xorg-server/glx/dispatch.h b/xorg-server/glx/dispatch.h
index 8c029ab38..1589f9877 100644
--- a/xorg-server/glx/dispatch.h
+++ b/xorg-server/glx/dispatch.h
@@ -41,6 +41,12 @@
* named function in the specified dispatch table.
*/
+/* GLXEXT is defined when building the GLX extension in the xserver.
+ */
+#if !defined(GLXEXT)
+#include "main/mfeatures.h"
+#endif
+
#ifdef _MSC_VER
#define INLINE __inline
#endif