exit is in stdlib.h not unistd.h (that's _exit).
This commit is contained in:
parent
d399a8b914
commit
c35995048f
|
@ -1781,7 +1781,7 @@ AC_MSG_CHECKING([for utf8 locale support])
|
||||||
AC_RUN_IFELSE(
|
AC_RUN_IFELSE(
|
||||||
[AC_LANG_PROGRAM([[
|
[AC_LANG_PROGRAM([[
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <unistd.h>
|
#include <stdlib.h>
|
||||||
]], [[
|
]], [[
|
||||||
char *loc = setlocale(LC_CTYPE, "en_US.UTF-8");
|
char *loc = setlocale(LC_CTYPE, "en_US.UTF-8");
|
||||||
if (loc != NULL)
|
if (loc != NULL)
|
||||||
|
|
Loading…
Reference in New Issue