aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_socket.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-05-21 13:28:21 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-05-21 13:28:21 +0000
commitfa73aac7747c9d0a8575eb2beffcdab50171e006 (patch)
treed1e354f2e321b8f1c4e5518984759bab1ae05ddd /src/os/unix/ngx_socket.h
parent1c13c662f0ae8066d1d4849b4158d7459a4c7822 (diff)
downloadnginx-fa73aac7747c9d0a8575eb2beffcdab50171e006.tar.gz
nginx-fa73aac7747c9d0a8575eb2beffcdab50171e006.zip
nginx-0.0.1-2003-05-21-17:28:21 import
Diffstat (limited to 'src/os/unix/ngx_socket.h')
-rw-r--r--src/os/unix/ngx_socket.h6
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);