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

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