diff options
| author | Khem Raj <raj.khem@gmail.com> | 2017-03-20 20:59:43 -0700 | 
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-21 08:22:26 -0400 | 
| commit | 1b83c21436b2aec10e7b604ee5e3905441d1bb8a (patch) | |
| tree | e821929076be61a8ac82db37490989d03bbe6a19 /recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch | |
| parent | da1272171f5ab370bdfb9730e045d9a4ca884862 (diff) | |
| download | meta-virtualization-1b83c21436b2aec10e7b604ee5e3905441d1bb8a.tar.gz | |
openvswitch: Fix build with musl libc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
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.patch | 35 | 
1 files changed, 35 insertions, 0 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 new file mode 100644 index 00000000..35712452 --- /dev/null +++ b/recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch  | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 1cec65e45f011c3f52eed5e27d3d816502e36610 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 20 Mar 2017 12:12:51 -0700 | ||
| 4 | Subject: [PATCH 1/2] use the linux if_packet.h Interface directly | ||
| 5 | |||
| 6 | Helps compiling with musl | ||
| 7 | |||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 9 | --- | ||
| 10 | lib/netdev-linux.c | 3 +-- | ||
| 11 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c | ||
| 14 | index a5a9ec1ab..9dd40acdd 100644 | ||
| 15 | --- a/lib/netdev-linux.c | ||
| 16 | +++ b/lib/netdev-linux.c | ||
| 17 | @@ -33,14 +33,13 @@ | ||
| 18 | #include <linux/pkt_sched.h> | ||
| 19 | #include <linux/rtnetlink.h> | ||
| 20 | #include <linux/sockios.h> | ||
| 21 | +#include <linux/if_packet.h> | ||
| 22 | #include <sys/types.h> | ||
| 23 | #include <sys/ioctl.h> | ||
| 24 | #include <sys/socket.h> | ||
| 25 | #include <sys/utsname.h> | ||
| 26 | -#include <netpacket/packet.h> | ||
| 27 | #include <net/if.h> | ||
| 28 | #include <net/if_arp.h> | ||
| 29 | -#include <net/if_packet.h> | ||
| 30 | #include <net/route.h> | ||
| 31 | #include <netinet/in.h> | ||
| 32 | #include <poll.h> | ||
| 33 | -- | ||
| 34 | 2.12.0 | ||
| 35 | |||
