summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--dga.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 48ac761..ea0bf92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,6 @@ XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XF86DGA, x11 xxf86dga)
+PKG_CHECK_MODULES(XF86DGA, [x11 xxf86dga >= 1.1])
AC_OUTPUT([Makefile])
diff --git a/dga.c b/dga.c
index c460ce7..bef44af 100644
--- a/dga.c
+++ b/dga.c
@@ -2,7 +2,7 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#include <X11/extensions/xf86dga.h>
+#include <X11/extensions/Xxf86dga.h>
#include <sys/time.h>
#include <ctype.h>
#include <errno.h>