]> code.ossystems Code Review - openembedded-core.git/commit
net-tools: fix building with linux-4.8
authorJackie Huang <jackie.huang@windriver.com>
Sun, 9 Oct 2016 00:56:07 +0000 (08:56 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Oct 2016 07:26:09 +0000 (08:26 +0100)
commit94d15885c516e3bfee4fb68dfb568f4da6904052
treea84dce998039f403fd2fd5ffc965ce9b26a77beb
parent804bea398af3e3e3d134e5199eda61afbc285088
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
         ^~~~~
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>
meta/recipes-extended/net-tools/net-tools/net-tools-fix-building-with-linux-4.8.patch [new file with mode: 0644]
meta/recipes-extended/net-tools/net-tools_1.60-26.bb