diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-10-09 08:56:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-11 08:27:27 +0100 |
commit | 0f25619268d4eb4e4a40cac7cdb40de5bca9ade1 (patch) | |
tree | 66b0332b9da4bcf6e5b9920900bf5677077af521 /meta/recipes-extended/net-tools/net-tools_1.60-26.bb | |
parent | 40f262f9de3cb49c994d920085011ad0740a5190 (diff) | |
download | poky-0f25619268d4eb4e4a40cac7cdb40de5bca9ade1.tar.gz |
net-tools: fix building with linux-4.8
Fix a build error when using the linux-4.8 headers that results in:
In file included from
.../sysroots/qemuarm64/usr/include/linux/if_tunnel.h:6:0,
from iptunnel.c:39:
.../qemuarm64/usr/include/linux/ip.h:85:8: error: redefinition of
'struct iphdr'
struct iphdr {
^~~~~
In file included from iptunnel.c:29:0:
.../qemuarm64/usr/include/netinet/ip.h:44:8: note: originally defined here
struct iphdr
^~~~~
(From OE-Core rev: 94d15885c516e3bfee4fb68dfb568f4da6904052)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/net-tools/net-tools_1.60-26.bb')
-rw-r--r-- | meta/recipes-extended/net-tools/net-tools_1.60-26.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb index 9c2adfa62e..47a68a59ac 100644 --- a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb +++ b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb | |||
@@ -16,6 +16,7 @@ SRC_URI = "http://snapshot.debian.org/archive/debian/20050312T000000Z/pool/main/ | |||
16 | file://net-tools-1.60-sctp2-quiet.patch \ | 16 | file://net-tools-1.60-sctp2-quiet.patch \ |
17 | file://net-tools-1.60-sctp3-addrs.patch \ | 17 | file://net-tools-1.60-sctp3-addrs.patch \ |
18 | file://0001-lib-inet6.c-INET6_rresolve-various-fixes.patch \ | 18 | file://0001-lib-inet6.c-INET6_rresolve-various-fixes.patch \ |
19 | file://net-tools-fix-building-with-linux-4.8.patch \ | ||
19 | " | 20 | " |
20 | 21 | ||
21 | # for this package we're mostly interested in tracking debian patches, | 22 | # for this package we're mostly interested in tracking debian patches, |