summaryrefslogtreecommitdiffhomepage
path: root/includes.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-31 23:15:35 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-31 23:15:35 +0800
commitf6b304250bda59f7dcc56ffa7c4c5f482e66d32f (patch)
tree3b77984939b7dc955bdb3ea1c1cb1fd2df7de884 /includes.h
parent36526700a983e09e77f03e404f207d6fbc220306 (diff)
Try using writev() for writing packets out to tcp
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index 571a3be..203ccfd 100644
--- a/includes.h
+++ b/includes.h
@@ -120,6 +120,10 @@
#include <libgen.h>
#endif
+#ifdef HAVE_SYS_UIO_H
+#include <sys/uio.h>
+#endif
+
#ifdef BUNDLED_LIBTOM
#include "libtomcrypt/src/headers/tomcrypt.h"
#include "libtommath/tommath.h"