Include <unistd.h> for exit in utf8 locale test.

This commit is contained in:
Darren Tucker 2016-12-09 12:33:25 +11:00
parent 47b8c99ab3
commit d399a8b914
1 changed files with 1 additions and 0 deletions

View File

@ -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)