For Mingw32, include stdlib.h to test for sys_errlist

See README 1.27 log
This commit is contained in:
Howard Chu 1999-10-28 07:23:45 +00:00
parent 9c46eee39b
commit 5d4eda1770

View File

@ -782,7 +782,10 @@ AC_DEFUN([OL_SYS_ERRLIST],
AC_TRY_COMPILE([
#include <stdio.h>
#include <sys/types.h>
#include <errno.h> ],
#include <errno.h>
#ifdef WINNT
#include <stdlib.h>
#endif ],
[char *c = (char *) *sys_errlist],
[ol_cv_dcl_sys_errlist=yes
ol_cv_have_sys_errlist=yes],