exit is in stdlib.h not unistd.h (that's _exit).

This commit is contained in:
Darren Tucker 2016-12-09 12:52:02 +11:00
parent d399a8b914
commit c35995048f
1 changed files with 1 additions and 1 deletions

View File

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