Include sys/socket.h for SOCK_STREAM
authorSimon Horman <horms@verge.net.au>
Fri, 23 Sep 2011 11:11:20 +0000 (20:11 +0900)
committerBen Pfaff <blp@nicira.com>
Fri, 23 Sep 2011 16:10:31 +0000 (09:10 -0700)
This appears to be required when building using the Android NDK r6b
(Android API level 13).

utilities/ovs-vlan-bug-workaround.c

index 9722c27..f459dec 100644 (file)
@@ -23,6 +23,7 @@
 #include <net/if.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
+#include <sys/socket.h>
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>