summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--src/Xfixes.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index dbfc90b..8c18026 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,8 @@ FIXESEXT_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
AC_SUBST(FIXESEXT_VERSION)
# Obtain compiler/linker options for dependencies
-PKG_CHECK_MODULES(FIXESEXT, xproto [fixesproto >= $FIXESEXT_VERSION] xextproto [x11 >= 1.6])
+PKG_CHECK_MODULES(FIXESEXT,
+ [xproto >= 7.0.22] [fixesproto >= $FIXESEXT_VERSION] xextproto [x11 >= 1.6])
AC_CONFIG_FILES([Makefile
diff --git a/src/Xfixes.c b/src/Xfixes.c
index 30ae729..557b21d 100644
--- a/src/Xfixes.c
+++ b/src/Xfixes.c
@@ -24,6 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#include <X11/Xfuncproto.h>
#include "Xfixesint.h"
XFixesExtInfo XFixesExtensionInfo;
@@ -203,7 +204,7 @@ XFixesFindDisplay (Display *dpy)
}
static int
-XFixesCloseDisplay (Display *dpy, XExtCodes *codes)
+XFixesCloseDisplay (Display *dpy, _X_UNUSED XExtCodes *codes)
{
return XFixesExtRemoveDisplay (&XFixesExtensionInfo, dpy);
}