From 5d4eda17705d8f82a0bb7538ff62514ad47eef7a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 28 Oct 1999 07:23:45 +0000 Subject: [PATCH] For Mingw32, include stdlib.h to test for sys_errlist See README 1.27 log --- build/openldap.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/openldap.m4 b/build/openldap.m4 index 1ace3af743..e9984216d0 100644 --- a/build/openldap.m4 +++ b/build/openldap.m4 @@ -782,7 +782,10 @@ AC_DEFUN([OL_SYS_ERRLIST], AC_TRY_COMPILE([ #include #include -#include ], +#include +#ifdef WINNT +#include +#endif ], [char *c = (char *) *sys_errlist], [ol_cv_dcl_sys_errlist=yes ol_cv_have_sys_errlist=yes], -- 2.39.5