mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
For Mingw32, include stdlib.h to test for sys_errlist
See README 1.27 log
This commit is contained in:
parent
9c46eee39b
commit
5d4eda1770
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user