Commit 5d4eda17 authored by Howard Chu's avatar Howard Chu
Browse files

For Mingw32, include stdlib.h to test for sys_errlist

See README 1.27 log
parent 9c46eee3
......@@ -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],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment