Mercurial > hg > nginx
diff src/os/unix/ngx_freebsd_config.h @ 262:8c5bdde0d9f0
nginx-0.0.2-2004-02-18-18:45:21 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 18 Feb 2004 15:45:21 +0000 |
parents | 8e39cab6abd5 |
children | 83205e0b5522 |
line wrap: on
line diff
--- 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