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 #include +#ifndef IOV_MAX +#define IOV_MAX 1024 +#endif + static unsigned long m_bw_bytes_in; static unsigned long m_bw_bytes_out;