server: include uio.h for writev()
authorBruce Cran <bruce@cran.org.uk>
Fri, 12 Apr 2013 13:40:21 +0000 (15:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Apr 2013 13:40:21 +0000 (15:40 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
server.c

index 020d1d7b5a4bc333305ac98fdaf94514d748cc26..884ff8ef5d8c597ec6d9f674ff6b495bdd876d92 100644 (file)
--- a/server.c
+++ b/server.c
@@ -11,6 +11,7 @@
 #include <sys/socket.h>
 #include <sys/stat.h>
 #include <sys/un.h>
+#include <sys/uio.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>