From f84ad941dc29028d969ea83e2ef14a8053d4e511 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 23 Mar 2008 15:42:40 +0000 Subject: it seems that malloc.h is required for Cygwin only and breaks building on other platforms --- src/os/unix/ngx_posix_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os/unix') diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h index 37176e0d2..ae6f70f6a 100644 --- a/src/os/unix/ngx_posix_config.h +++ b/src/os/unix/ngx_posix_config.h @@ -70,7 +70,7 @@ #include /* IOV_MAX */ #endif -#if (NGX_HAVE_MALLOC_H) +#ifdef __CYGWIN__ #include /* memalign() */ #endif -- cgit