aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-02-18 15:45:21 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-02-18 15:45:21 +0000
commit8ae18a10d6c7c94fbb4fa04a64c6fa1e2a38fe16 (patch)
treeb6141281a8b432f4ccfeb6f6f670a0e38b9e01b4 /src/os/unix/ngx_freebsd_config.h
parent22a7c50463654139e14b4645a1ac8e35feec9900 (diff)
downloadnginx-8ae18a10d6c7c94fbb4fa04a64c6fa1e2a38fe16.tar.gz
nginx-8ae18a10d6c7c94fbb4fa04a64c6fa1e2a38fe16.zip
nginx-0.0.2-2004-02-18-18:45:21 import
Diffstat (limited to 'src/os/unix/ngx_freebsd_config.h')
-rw-r--r--src/os/unix/ngx_freebsd_config.h6
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 3d53d2026..e447340a8 100644
--- a/src/os/unix/ngx_freebsd_config.h
+++ b/src/os/unix/ngx_freebsd_config.h
@@ -11,6 +11,7 @@
#include <fcntl.h>
#include <string.h>
#include <signal.h>
+#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
@@ -71,6 +72,11 @@
#endif
+#ifndef IOV_MAX
+#define IOV_MAX 1024
+#endif
+
+
#ifndef HAVE_INHERITED_NONBLOCK
#define HAVE_INHERITED_NONBLOCK 1
#endif