]> code.ossystems Code Review - openembedded-core.git/commit
ppp: include netinet/in.h before linux/in.h in pppoe.h
authorYi Zhao <yi.zhao@windriver.com>
Fri, 17 Nov 2017 02:18:53 +0000 (10:18 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Nov 2017 14:43:00 +0000 (14:43 +0000)
commit6e50f316db897c1d64026b3d21acec7712e4cc09
treea49de6164cdeb82a72f4f93b93dbf4dfc538c8a4
parent49dea7745d3f8e182566cb6bdf79e7b03560a699
ppp: include netinet/in.h before linux/in.h in pppoe.h

The patch ppp-fix-building-with-linux-4.8.patch tries to fix build error
with 4.8 or newer linux headers, but it would break building with kernel
< 4.8. There is a better solution to fix this issue in upstream.
Backport the upstream patch and replace the old one.

[YOCTO #10457]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-connectivity/ppp/ppp/0001-pppoe-include-netinet-in.h-before-linux-in.h.patch [new file with mode: 0644]
meta/recipes-connectivity/ppp/ppp/ppp-fix-building-with-linux-4.8.patch [deleted file]
meta/recipes-connectivity/ppp/ppp_2.4.7.bb