]> git.ozlabs.org Git - ppp.git/commit - pppd/plugins/rp-pppoe/pppoe-discovery.c
rp-pppoe: Fix compilation with musl libc
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 30 Dec 2020 01:04:57 +0000 (12:04 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 30 Dec 2020 01:06:39 +0000 (12:06 +1100)
commit7555728c50db87ae7d5b8c018c006a14bf374584
treeca96ac8f32315bcb9ac0e47c71019f514069c597
parentd83b03f5ced8aa26ad937fb87d606e7c10cdc859
rp-pppoe: Fix compilation with musl libc

Ensure that we don't include both <netinet/if_ether.h> and
<linux/if_ether.h>, and don't include <net/ethernet.h>.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd/plugins/rp-pppoe/if.c
pppd/plugins/rp-pppoe/plugin.c
pppd/plugins/rp-pppoe/pppoe-discovery.c
pppd/plugins/rp-pppoe/pppoe.h