diff options
Diffstat (limited to 'src/os/unix/ngx_freebsd_config.h')
-rw-r--r-- | src/os/unix/ngx_freebsd_config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h index fa08f8f4f..7c229a417 100644 --- a/src/os/unix/ngx_freebsd_config.h +++ b/src/os/unix/ngx_freebsd_config.h @@ -13,6 +13,7 @@ #include <sys/uio.h> #include <sys/ioctl.h> #include <sys/resource.h> +#include <sys/sysctl.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> /* TCP_NOPUSH */ @@ -105,4 +106,9 @@ #endif +#ifndef HAVE_FIONBIO +#define HAVE_FIONBIO 1 +#endif + + #endif /* _NGX_FREEBSD_CONFIG_H_INCLUDED_ */ |