diff src/os/unix/ngx_posix_config.h @ 1954:d85e291b99f9

it seems that malloc.h is required for Cygwin only and breaks building on other platforms
author Igor Sysoev <igor@sysoev.ru>
date Sun, 23 Mar 2008 15:42:40 +0000
parents d880fa02fb65
children b52cb9bf2064
line wrap: on
line diff
--- 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