lib: Add header #include for writev
authorEd Maste <emaste@freebsd.org>
Wed, 8 Aug 2012 18:35:13 +0000 (18:35 +0000)
committerBen Pfaff <blp@nicira.com>
Wed, 8 Aug 2012 19:27:21 +0000 (12:27 -0700)
This fixes a warning on FreeBSD.

Signed-off-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/socket-util.c

index 314761d388adf7c08c645f1d5937bec0eacd3a24..7c40ab8330d6d298a59a8308986d4cf4e0baaf70 100644 (file)
@@ -30,6 +30,7 @@
 #include <sys/resource.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
+#include <sys/uio.h>
 #include <sys/un.h>
 #include <unistd.h>
 #include "dynamic-string.h"