summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--xhost.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index be103e6..68cefa1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,7 @@ XORG_DEFAULT_OPTIONS
# Checks for pkg-config packages
# - Both CFLAGS & LIBS needed:
-PKG_CHECK_MODULES(XHOST, x11 xmuu)
+PKG_CHECK_MODULES(XHOST, [xproto >= 7.0.22 x11 xmuu])
# - Only CFLAGS needed, not libs:
PKG_CHECK_MODULES(XAU, xau)
diff --git a/xhost.c b/xhost.c
index fd13dae..576513a 100644
--- a/xhost.c
+++ b/xhost.c
@@ -809,7 +809,7 @@ get_hostname(XHostAddress *ha)
/*ARGUSED*/
static void
-nameserver_lost(int sig)
+nameserver_lost(_X_UNUSED int sig)
{
nameserver_timedout = 1;
}