summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/glx/x11/dri2_glx.c1
-rw-r--r--src/glx/x11/glxext.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/x11/dri2_glx.c b/src/glx/x11/dri2_glx.c
index 6200df94f7..15a3ea5907 100644
--- a/src/glx/x11/dri2_glx.c
+++ b/src/glx/x11/dri2_glx.c
@@ -37,6 +37,7 @@
#include <X11/extensions/Xdamage.h>
#include "glapi.h"
#include "glxclient.h"
+#include <X11/extensions/dri2proto.h>
#include "xf86dri.h"
#include <dlfcn.h>
#include <fcntl.h>
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index dde694b9f8..c2de1a3fff 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -41,6 +41,7 @@
#include "glxclient.h"
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
+#include <X11/extensions/dri2proto.h>
#include "glxextensions.h"
#include "glcontextmodes.h"