diff options
Diffstat (limited to '')
| -rw-r--r-- | src/os/win32/ngx_socket.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/os/win32/ngx_socket.h b/src/os/win32/ngx_socket.h index 36ed26f69..7002795a7 100644 --- a/src/os/win32/ngx_socket.h +++ b/src/os/win32/ngx_socket.h @@ -3,14 +3,17 @@ #include <ngx_config.h> +#include <ngx_log.h> -typedef SOCKET ngx_socket_t; +typedef SOCKET ngx_socket_t; void ngx_init_sockets(ngx_log_t *log); int ngx_nonblocking_n(s); -#define ngx_nonblocking_n "ioctlsocket (FIONBIO)" +#define ngx_nonblocking_n "ioctlsocket (FIONBIO)" +#define ngx_close_socket closesocket +#define ngx_close_socket_n "closesocket" #endif /* _NGX_SOCKET_H_INCLUDED_ */ |
