pppd: fix build with Linux 4.8 headers
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 Oct 2016 20:57:11 +0000 (22:57 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 Oct 2016 20:57:11 +0000 (22:57 +0200)
commit035567b2793f3649e2ddc6cd34b75dd643f47d73
tree1590ee35885803669896ea941c4563cf521e297e
parent84dea98064c91324b23a3f9a2f7549dd57012d01
pppd: fix build with Linux 4.8 headers

This commit fixes the build of pppd with toolchain using Linux 4.8
headers. The patch has been taken from a pull request pending on the
Github project, which is unfortunately somewhat dead.

The fix is not the most beautiful one, but it does the job, in a piece
of source code that's anyway rather messy in terms of mixing userspace
headers and kernel headers.

Fixes:

  http://autobuild.buildroot.net/results/bdc4f274e527c5aebf9bd1b2ca85ba8e7da57e9d/
  and numerous similar other build failures

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pppd/0001-fix-building-with-linux-4.8.patch [new file with mode: 0644]