From: Howard Chu Date: Thu, 28 Oct 1999 07:23:45 +0000 (+0000) Subject: For Mingw32, include stdlib.h to test for sys_errlist X-Git-Tag: UCDATA_2_4~294 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d4eda17705d8f82a0bb7538ff62514ad47eef7a;p=openldap For Mingw32, include stdlib.h to test for sys_errlist See README 1.27 log --- 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],