X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fplugins%2Frp-pppoe%2Fpppoe.h;h=e2dc2ff9c00260d8437274941db0eb3ee20c7d97;hp=b4b309fbeb04ed2c36cd08bf7aa8d0eeed95cb5c;hb=f1e3aa2dc7e7772d8491c6ff61e4e6d28af33d4b;hpb=c9d9dbfb8459b528ab56bd1cf0c41460801bbfdf diff --git a/pppd/plugins/rp-pppoe/pppoe.h b/pppd/plugins/rp-pppoe/pppoe.h index b4b309f..e2dc2ff 100644 --- a/pppd/plugins/rp-pppoe/pppoe.h +++ b/pppd/plugins/rp-pppoe/pppoe.h @@ -39,10 +39,6 @@ #error Unknown method for accessing raw Ethernet frames #endif -#ifdef HAVE_SYS_CDEFS_H -#include -#endif - #ifdef HAVE_SYS_SOCKET_H #include #endif @@ -86,7 +82,7 @@ typedef unsigned long UINT32_t; #ifdef HAVE_LINUX_IF_ETHER_H #include -#endif +#else #ifdef HAVE_NETINET_IF_ETHER_H #include @@ -98,7 +94,7 @@ typedef unsigned long UINT32_t; #include #endif #endif - +#endif /* Ethernet frame types according to RFC 2516 */ #define ETH_PPPOE_DISCOVERY 0x8863