diff options
Diffstat (limited to 'src/os/unix/ngx_socket.h')
-rw-r--r-- | src/os/unix/ngx_socket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/unix/ngx_socket.h b/src/os/unix/ngx_socket.h index 18c07f9b0..e9e797474 100644 --- a/src/os/unix/ngx_socket.h +++ b/src/os/unix/ngx_socket.h @@ -12,5 +12,8 @@ typedef int ngx_socket_t; #define ngx_nonblocking(s) fcntl(s, F_SETFL, O_NONBLOCK) #define ngx_nonblocking_n "fcntl (O_NONBLOCK)" +#define ngx_close_socket close +#define ngx_close_socket_n "close" + #endif /* _NGX_SOCKET_H_INCLUDED_ */ |