diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-03-23 15:42:40 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-03-23 15:42:40 +0000 |
commit | f84ad941dc29028d969ea83e2ef14a8053d4e511 (patch) | |
tree | 759e041fdfa6f0ede77378cb6f1270170e3ed01c /src/os/unix/ngx_posix_config.h | |
parent | 37e0e6d8635878fd2c8adf9f4e37cfb4039520cd (diff) | |
download | nginx-f84ad941dc29028d969ea83e2ef14a8053d4e511.tar.gz nginx-f84ad941dc29028d969ea83e2ef14a8053d4e511.zip |
it seems that malloc.h is required for Cygwin only
and breaks building on other platforms
Diffstat (limited to 'src/os/unix/ngx_posix_config.h')
-rw-r--r-- | src/os/unix/ngx_posix_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <limits.h> /* IOV_MAX */ #endif -#if (NGX_HAVE_MALLOC_H) +#ifdef __CYGWIN__ #include <malloc.h> /* memalign() */ #endif |