diff options
Diffstat (limited to 'src/os/unix/ngx_socket.h')
-rw-r--r-- | src/os/unix/ngx_socket.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/os/unix/ngx_socket.h b/src/os/unix/ngx_socket.h index 937c12d9a..cee1f4aeb 100644 --- a/src/os/unix/ngx_socket.h +++ b/src/os/unix/ngx_socket.h @@ -4,10 +4,6 @@ #include <ngx_config.h> -#ifdef __FreeBSD__ -#include <sys/ioctl.h> -#endif - #define NGX_WRITE_SHUTDOWN SHUT_WR @@ -17,7 +13,7 @@ typedef int ngx_socket_t; #define ngx_socket_n "socket()" -#ifdef __FreeBSD__ +#if 1 int ngx_nonblocking(ngx_socket_t s); int ngx_blocking(ngx_socket_t s); |