aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-10-16 14:14:30 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-10-16 14:14:30 +0000
commit80c94f260eda858a061baeec03608e1bbc77675e (patch)
tree3ea1dabde8ef88c5ce5f6db37460393405bef9a2 /src
parentdde2abde39412f3d0953a7a538c20ceb92520555 (diff)
downloadnginx-80c94f260eda858a061baeec03608e1bbc77675e.tar.gz
nginx-80c94f260eda858a061baeec03608e1bbc77675e.zip
Cygwin support
Diffstat (limited to 'src')
-rw-r--r--src/os/unix/ngx_posix_config.h14
1 files changed, 14 insertions, 0 deletions
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 <sys/types.h>
#include <sys/time.h>
#if (NGX_HAVE_UNISTD_H)
@@ -64,6 +69,15 @@
#include <limits.h> /* IOV_MAX */
#endif
+#if (NGX_HAVE_MALLOC_H)
+#include <malloc.h> /* memalign() */
+#endif
+
+#if (NGX_HAVE_CRYPT_H)
+#include <crypt.h>
+#endif
+
+
#ifndef IOV_MAX
#define IOV_MAX 16
#endif