summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-16 09:41:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-16 13:13:52 +1000
commita119baf3c5aa4f035040e0b991e99e6b382b9670 (patch)
treeca3aba4c93ba27771e1d3472ce83803e495b1850
parent378db00ee91a11629666fc1c5e5a5e13c65ffefc (diff)
Include xtestproto.h, not xteststr.h
Require xextproto 7.0.99.1. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--configure.ac2
-rw-r--r--src/XTest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 61d4bc3..0f0b33e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,7 +44,7 @@ AC_PATH_PROG([XMLTO], [xmlto])
AM_CONDITIONAL([HAVE_XMLTO], [test "x$XMLTO" != "x"])
# Check for dependencies
-PKG_CHECK_MODULES(XTST, x11 xext xi recordproto xextproto inputproto)
+PKG_CHECK_MODULES(XTST, x11 xext xi recordproto [xextproto >= 7.0.99.1] inputproto)
XTST_CFLAGS="$CWARNFLAGS $XTST_CFLAGS"
AC_SUBST(XTST_CFLAGS)
AC_SUBST(XTST_LIBS)
diff --git a/src/XTest.c b/src/XTest.c
index 45f593e..ed45e41 100644
--- a/src/XTest.c
+++ b/src/XTest.c
@@ -35,7 +35,7 @@ from The Open Group.
#define NEED_REPLIES
#include <X11/Xlibint.h>
#include <X11/extensions/XTest.h>
-#include <X11/extensions/xteststr.h>
+#include <X11/extensions/xtestproto.h>
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
#include <X11/extensions/XInput.h>