summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--utils.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2f3468f..c11850b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,8 @@ AC_PROG_CC
AC_PROG_YACC
AC_PROG_INSTALL
+AC_CHECK_FUNCS([strdup strcasecmp])
+
# Checks for pkg-config packages
PKG_CHECK_MODULES(XKBCOMP, x11 xkbfile)
AC_SUBST(XKBCOMP_CFLAGS)
diff --git a/utils.h b/utils.h
index 71e0d11..0f38052 100644
--- a/utils.h
+++ b/utils.h
@@ -35,6 +35,7 @@
#include <X11/Xfuncs.h>
#include <stddef.h>
+#include "config.h"
#ifndef NUL
#define NUL '\0'