]> code.ossystems Code Review - openembedded-core.git/commit
ppp: fix building with linux-4.8
authorJackie Huang <jackie.huang@windriver.com>
Fri, 14 Oct 2016 00:50:11 +0000 (08:50 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Oct 2016 08:57:09 +0000 (09:57 +0100)
commit68e917aa778742da104c038a6e1ffa789fe95410
tree7a77b6b50608f2684451de962a8ba5825c95c5aa
parentefc92a63d40b909864505d3d6d22ce74cd6a847b
ppp: fix building with linux-4.8

Fix a build error when using the linux-4.8 headers that results in:

In file included from pppoe.h:87:0,
                 from plugin.c:29:
../usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
        ^~~~~~~~
In file included from ../usr/include/linux/if_pppol2tp.h:20:0,
                 from ../usr/include/linux/if_pppox.h:26,
                 from plugin.c:52:
../usr/include/linux/in6.h:49:8: error: redefinition of 'struct sockaddr_in6'
 struct sockaddr_in6 {
        ^~~~~~~~~~~~

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-connectivity/ppp/ppp/ppp-fix-building-with-linux-4.8.patch [new file with mode: 0644]
meta/recipes-connectivity/ppp/ppp_2.4.7.bb