1 --- a/pppd/plugins/rp-pppoe/pppoe.h
2 +++ b/pppd/plugins/rp-pppoe/pppoe.h
4 #include <netinet/in.h>
6 /* Ugly header files on some Linux boxes... */
7 -#if defined(HAVE_LINUX_IF_H)
9 -#elif defined(HAVE_NET_IF_H)
13 #ifdef HAVE_NET_IF_TYPES_H
14 #include <net/if_types.h>
15 @@ -84,20 +80,7 @@ typedef unsigned long UINT32_t;
16 #error Could not find a 32-bit integer type
19 -#ifdef HAVE_LINUX_IF_ETHER_H
20 -#include <linux/if_ether.h>
23 -#ifdef HAVE_NETINET_IF_ETHER_H
24 -#include <sys/types.h>
26 -#ifdef HAVE_SYS_SOCKET_H
27 -#include <sys/socket.h>
29 -#ifndef HAVE_SYS_DLPI_H
30 -#include <netinet/if_ether.h>
33 +#include <net/ethernet.h>
36 /* Ethernet frame types according to RFC 2516 */