diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-12-09 12:33:25 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-12-09 12:33:25 +1100 |
commit | d399a8b914aace62418c0cfa20341aa37a192f98 (patch) | |
tree | 6a61e8e585967f51a6856254e1de854fa20c3a2c /configure.ac | |
parent | 47b8c99ab3221188ad3926108dd9d36da3b528ec (diff) |
Include <unistd.h> for exit in utf8 locale test.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9c8d1173..7b1be32e 100644 --- a/configure.ac +++ b/configure.ac @@ -1781,6 +1781,7 @@ AC_MSG_CHECKING([for utf8 locale support]) AC_RUN_IFELSE( [AC_LANG_PROGRAM([[ #include <locale.h> +#include <unistd.h> ]], [[ char *loc = setlocale(LC_CTYPE, "en_US.UTF-8"); if (loc != NULL) |