it seems that malloc.h is required for Cygwin only

and breaks building on other platforms
This commit is contained in:
Igor Sysoev 2008-03-23 15:42:40 +00:00
parent 37e0e6d863
commit f84ad941dc
2 changed files with 1 additions and 2 deletions

View File

@ -7,4 +7,3 @@ ngx_include="inttypes.h"; . auto/include
ngx_include="limits.h"; . auto/include
ngx_include="sys/filio.h"; . auto/include
ngx_include="crypt.h"; . auto/include
ngx_include="malloc.h"; . auto/include

View File

@ -70,7 +70,7 @@
#include <limits.h> /* IOV_MAX */
#endif
#if (NGX_HAVE_MALLOC_H)
#ifdef __CYGWIN__
#include <malloc.h> /* memalign() */
#endif