summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--get_load.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 3c0a1d1..7c94abf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,7 +66,7 @@ AM_CONDITIONAL(USE_GETTEXT, test "x$USE_GETTEXT" = "xyes")
AC_CHECK_LIB([kstat], [kstat_open])
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XLOAD, xaw7 xmu xt x11)
+PKG_CHECK_MODULES(XLOAD, xaw7 xmu xt x11 [xproto >= 7.0.17])
PKG_CHECK_MODULES(APPDEFS, xt)
xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
diff --git a/get_load.c b/get_load.c
index 77b6779..dc07d60 100644
--- a/get_load.c
+++ b/get_load.c
@@ -201,7 +201,7 @@ void GetLoadPoint(
extern long lseek();
#endif
-static void xload_error(const char *, const char *);
+static void xload_error(const char *, const char *) _X_NORETURN;
#if defined(SYSV) && defined(i386)