diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-12-12 20:38:44 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-12 20:38:44 +0000 |
| commit | 0993e097cf459ec02fc172abf8b6a4d9dfd0ffd8 (patch) | |
| tree | 9cfc9d5fc583ba35844426c3c92a074ed525b418 /src/os/unix/ngx_posix_config.h | |
| parent | 67c3962364f8999e91c268d6840b1899a762b9ed (diff) | |
| download | nginx-0993e097cf459ec02fc172abf8b6a4d9dfd0ffd8.tar.gz nginx-0993e097cf459ec02fc172abf8b6a4d9dfd0ffd8.tar.bz2 | |
r1577, r1582 merge:
Cygwin support
Diffstat (limited to 'src/os/unix/ngx_posix_config.h')
| -rw-r--r-- | src/os/unix/ngx_posix_config.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h index f79657654..49c3c4d6c 100644 --- a/src/os/unix/ngx_posix_config.h +++ b/src/os/unix/ngx_posix_config.h @@ -19,6 +19,12 @@ #endif +#ifdef __CYGWIN__ +#define timezonevar /* timezone is variable */ +#define NGX_BROKEN_SCM_RIGHTS 1 +#endif + + #include <sys/types.h> #include <sys/time.h> #if (NGX_HAVE_UNISTD_H) @@ -64,6 +70,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 |
