diff options
Diffstat (limited to 'src/core/ngx_config.h')
| -rw-r--r-- | src/core/ngx_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h index 88f374ac3..f7223fa45 100644 --- a/src/core/ngx_config.h +++ b/src/core/ngx_config.h @@ -18,6 +18,7 @@ #include <winsock2.h> #include <mswsock.h> +#include <stddef.h> /* offsetof */ #include <stdio.h> #include <stdarg.h> @@ -88,6 +89,10 @@ #endif +#ifndef HAVE_SELECT +#define HAVE_SELECT 1 +#endif + #ifdef __FreeBSD__ |
