summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-12-09 12:52:02 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-12-09 12:52:02 +1100
commitc35995048f41239fc8895aadc3374c5f75180554 (patch)
tree460ac2eb54a0a9e2c84825c25d1b33297f637ced
parentd399a8b914aace62418c0cfa20341aa37a192f98 (diff)
exit is in stdlib.h not unistd.h (that's _exit).
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7b1be32e..a221214d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1781,7 +1781,7 @@ AC_MSG_CHECKING([for utf8 locale support])
AC_RUN_IFELSE(
[AC_LANG_PROGRAM([[
#include <locale.h>
-#include <unistd.h>
+#include <stdlib.h>
]], [[
char *loc = setlocale(LC_CTYPE, "en_US.UTF-8");
if (loc != NULL)