summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2008-04-02 19:17:31 -0400
committerKristian Høgsberg <[email protected]>2008-04-02 19:17:31 -0400
commite786924bf08583f74fff135a211c040843abd0bb (patch)
treed54ff8a19bf4bc3f1d92a2a82a4916ee8c14e16c
parentdc836edf49a08a7fd77fc1f127818b0550558581 (diff)
Pick up dri2proto from the standard proto header include path.
-rw-r--r--configure.ac2
-rw-r--r--src/glx/x11/dri2.c2
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;