aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openvswitch/musl-if_packet.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-12 19:03:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-12 19:04:10 +0000
commit88fe192f466d20383447ac1cdb94ae2b2fc4f6da (patch)
tree15b7bd547f33f1fbd93cd297f36ab447105ed011 /testing/openvswitch/musl-if_packet.patch
parent041c19eeea7ac2bb445b2afbfd7fe76e8a724636 (diff)
downloadaports-88fe192f466d20383447ac1cdb94ae2b2fc4f6da.tar.bz2
aports-88fe192f466d20383447ac1cdb94ae2b2fc4f6da.tar.xz
testing/openvswitch: build fix for musl
Diffstat (limited to 'testing/openvswitch/musl-if_packet.patch')
-rw-r--r--testing/openvswitch/musl-if_packet.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/openvswitch/musl-if_packet.patch b/testing/openvswitch/musl-if_packet.patch
new file mode 100644
index 0000000000..ff9d76119e
--- /dev/null
+++ b/testing/openvswitch/musl-if_packet.patch
@@ -0,0 +1,14 @@
+--- ./lib/netdev-linux.c.orig
++++ ./lib/netdev-linux.c
+@@ -37,10 +37,9 @@
+ #include <sys/types.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
+-#include <netpacket/packet.h>
+ #include <net/if.h>
+ #include <net/if_arp.h>
+-#include <net/if_packet.h>
++#include <linux/if_packet.h>
+ #include <net/route.h>
+ #include <netinet/in.h>
+ #include <poll.h>