summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch')
-rw-r--r--recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch b/recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch
deleted file mode 100644
index f1f9befe..00000000
--- a/recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 28b2d17de9414161d5edd67766bd4b452cd809ef Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 Mar 2017 12:12:51 -0700
4Subject: [PATCH] use the linux if_packet.h Interface directly
5
6Helps compiling with musl
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
10---
11 lib/netdev-linux.c | 3 +--
12 1 file changed, 1 insertion(+), 2 deletions(-)
13
14diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
15index fccf88f..b703156 100644
16--- a/lib/netdev-linux.c
17+++ b/lib/netdev-linux.c
18@@ -33,14 +33,13 @@
19 #include <linux/pkt_sched.h>
20 #include <linux/rtnetlink.h>
21 #include <linux/sockios.h>
22+#include <linux/if_packet.h>
23 #include <sys/types.h>
24 #include <sys/ioctl.h>
25 #include <sys/socket.h>
26 #include <sys/utsname.h>
27-#include <netpacket/packet.h>
28 #include <net/if.h>
29 #include <net/if_arp.h>
30-#include <net/if_packet.h>
31 #include <net/route.h>
32 #include <netinet/in.h>
33 #include <poll.h>