diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/glx/x11/dri2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 8598a0d2d80..48921e010e2 100644 --- a/configure.ac +++ b/configure.ac @@ -388,7 +388,7 @@ dri) # Check for libdrm PKG_CHECK_MODULES(LIBDRM, libdrm) - PKG_CHECK_MODULES(DRI2PROTO, dri2proto) + PKG_CHECK_MODULES(DRI2PROTO, dri2proto >= 1.1) # find the DRI deps for libGL if test "$x11_pkgconfig" = yes; then diff --git a/src/glx/x11/dri2.c b/src/glx/x11/dri2.c index c3012c4e5fb..e7044ab4248 100644 --- a/src/glx/x11/dri2.c +++ b/src/glx/x11/dri2.c @@ -35,9 +35,9 @@ #include <X11/Xlibint.h> #include <X11/extensions/Xext.h> #include <X11/extensions/extutil.h> +#include <X11/extensions/dri2proto.h> #include "glheader.h" #include "xf86drm.h" -#include "dri2proto.h" #include "dri2.h" static char dri2ExtensionName[] = DRI2_NAME; |