From e786924bf08583f74fff135a211c040843abd0bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 2 Apr 2008 19:17:31 -0400 Subject: [PATCH] Pick up dri2proto from the standard proto header include path. --- configure.ac | 2 +- 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 #include #include +#include #include "glheader.h" #include "xf86drm.h" -#include "dri2proto.h" #include "dri2.h" static char dri2ExtensionName[] = DRI2_NAME; -- 2.30.2