diff includes.h @ 728:f27058078d61

Try using writev() for writing packets out to tcp
author Matt Johnston <matt@ucc.asn.au>
date Sun, 31 Mar 2013 23:15:35 +0800
parents d194db6f9453
children 04ede40a529a
line wrap: on
line diff
--- a/includes.h	Sun Mar 31 21:38:17 2013 +0800
+++ b/includes.h	Sun Mar 31 23:15:35 2013 +0800
@@ -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"