mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
it seems that malloc.h is required for Cygwin only
and breaks building on other platforms
This commit is contained in:
parent
37e0e6d863
commit
f84ad941dc
@ -7,4 +7,3 @@ ngx_include="inttypes.h"; . auto/include
|
|||||||
ngx_include="limits.h"; . auto/include
|
ngx_include="limits.h"; . auto/include
|
||||||
ngx_include="sys/filio.h"; . auto/include
|
ngx_include="sys/filio.h"; . auto/include
|
||||||
ngx_include="crypt.h"; . auto/include
|
ngx_include="crypt.h"; . auto/include
|
||||||
ngx_include="malloc.h"; . auto/include
|
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
#include <limits.h> /* IOV_MAX */
|
#include <limits.h> /* IOV_MAX */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (NGX_HAVE_MALLOC_H)
|
#ifdef __CYGWIN__
|
||||||
#include <malloc.h> /* memalign() */
|
#include <malloc.h> /* memalign() */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user