From 80c94f260eda858a061baeec03608e1bbc77675e Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 16 Oct 2007 14:14:30 +0000 Subject: Cygwin support --- src/os/unix/ngx_posix_config.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h index f79657654..9898de0d0 100644 --- a/src/os/unix/ngx_posix_config.h +++ b/src/os/unix/ngx_posix_config.h @@ -19,6 +19,11 @@ #endif +#ifdef __CYGWIN__ +#define timezonevar /* timezone is variable */ +#endif + + #include #include #if (NGX_HAVE_UNISTD_H) @@ -64,6 +69,15 @@ #include /* IOV_MAX */ #endif +#if (NGX_HAVE_MALLOC_H) +#include /* memalign() */ +#endif + +#if (NGX_HAVE_CRYPT_H) +#include +#endif + + #ifndef IOV_MAX #define IOV_MAX 16 #endif -- cgit