diff options
Diffstat (limited to 'src/os')
| -rw-r--r-- | src/os/unix/ngx_linux_config.h | 5 | ||||
| -rw-r--r-- | src/os/win32/ngx_win32_config.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h index 6055cc672..11dbfac34 100644 --- a/src/os/unix/ngx_linux_config.h +++ b/src/os/unix/ngx_linux_config.h @@ -66,4 +66,9 @@ #endif +#ifndef HAVE_SELECT_CHANGE_TIMEOUT +#define HAVE_SELECT_CHANGE_TIMEOUT 1 +#endif + + #endif /* _NGX_LINUX_CONFIG_H_INCLUDED_ */ diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h index 1cad3ed47..ab0507437 100644 --- a/src/os/win32/ngx_win32_config.h +++ b/src/os/win32/ngx_win32_config.h @@ -4,12 +4,15 @@ #define WIN32 1 + #include <winsock2.h> #include <mswsock.h> #include <stddef.h> /* offsetof */ #include <stdio.h> #include <stdarg.h> +#include <time.h> /* gmtime, strftime */ + #define ngx_inline __inline |
