aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/XF86dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/XF86dri.c')
-rw-r--r--src/glx/XF86dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/XF86dri.c b/src/glx/XF86dri.c
index fdbdd43000e..d0e88805bcc 100644
--- a/src/glx/XF86dri.c
+++ b/src/glx/XF86dri.c
@@ -36,7 +36,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
/* THIS IS NOT AN X CONSORTIUM STANDARD */
-#ifdef GLX_DIRECT_RENDERING
+#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
#define NEED_REPLIES
#include <X11/Xlibint.h>