projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b44dc9
)
Include sys/socket.h for SOCK_STREAM
author
Simon Horman
<horms@verge.net.au>
Fri, 23 Sep 2011 11:11:20 +0000
(20:11 +0900)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/utilities/ovs-vlan-bug-workaround.c
b/utilities/ovs-vlan-bug-workaround.c
index 9722c27841dedc2e8152825e16975c23dce309ac..f459dec4bbe6313604f3fbc4b01b81ef0ff74d97 100644
(file)
--- a/
utilities/ovs-vlan-bug-workaround.c
+++ b/
utilities/ovs-vlan-bug-workaround.c
@@
-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>