diff options
| -rw-r--r-- | btpd/net.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/btpd/net.c b/btpd/net.c index 0c64489..72071e7 100644 --- a/btpd/net.c +++ b/btpd/net.c @@ -3,6 +3,10 @@ #include <sys/uio.h> #include <netdb.h> +#ifndef IOV_MAX +#define IOV_MAX 1024 +#endif + static unsigned long m_bw_bytes_in; static unsigned long m_bw_bytes_out; |