pppd: better fix for the Linux 4.8 kernel headers issue
authorStefan Nickl <Stefan.Nickl@gmail.com>
Thu, 20 Oct 2016 21:12:37 +0000 (23:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 Oct 2016 21:38:22 +0000 (23:38 +0200)
commit9d08404d9afa211b2da4449ee12b2e89dcedc208
tree91be58efb813fa3160f32c402d4557a1c0c1aebd
parent59b9cc7a2dffcd5eb192609eebe3f6a9a9293462
pppd: better fix for the Linux 4.8 kernel headers issue

Commit 035567b2793f3649e2ddc6cd34b75dd643f47d73 solved the build issue
of pppd with Linux 4.8 kernel headers, but in the process broke the
build with older kernel headers such as 3.10.

This commit takes a different approach, by moving the <netinet/in.h>
include above linux header includes.

Linux uapi headers try to avoid redeclaring things from libc via
linux/libc-compat.h. However that only works if the libc header is
included first.

Signed-off-by: Stefan Nickl <Stefan.Nickl@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pppd/0001-Move-netinet-in.h-above-linux-header-includes.patch [new file with mode: 0644]
package/pppd/0001-fix-building-with-linux-4.8.patch [deleted file]