]> git.ozlabs.org Git - ppp.git/commitdiff
pppoe: include netinet/in.h before linux/in.h
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 9 Jan 2017 13:34:23 +0000 (13:34 +0000)
committerLubomir Rintel <lkundrak@v3.sk>
Mon, 9 Jan 2017 16:12:12 +0000 (17:12 +0100)
This fixes builds with newer kernels. Basically, <netinet/in.h> needs to be
included before <linux/in.h> otherwise the earlier, unaware of the latter,
tries to redefine symbols and structures. Also, <linux/if_pppox.h> doesn't work
alone anymore, since it pulls the headers in the wrong order, so we better
include <netinet/in.h> early.


No differences found