diff -ru src.orig//pppd/plugins/rp-pppoe/config.h src/pppd/plugins/rp-pppoe/config.h
--- src.orig//pppd/plugins/rp-pppoe/config.h	2014-02-05 18:12:19.416357768 +0100
+++ src/pppd/plugins/rp-pppoe/config.h	2014-02-05 18:19:57.796207343 +0100
@@ -60,7 +60,7 @@
 #define HAVE_GETOPT_H 1
 
 /* Define if you have the <linux/if_ether.h> header file.  */
-/* #undef HAVE_LINUX_IF_ETHER_H */
+#define HAVE_LINUX_IF_ETHER_H 1
 
 /* Define if you have kernel-mode PPPoE in Linux file.  */
 #define HAVE_LINUX_KERNEL_PPPOE 1
@@ -78,7 +78,7 @@
 #define HAVE_NET_IF_ARP_H 1
 
 /* Define if you have the <net/ethernet.h> header file.  */
-#define HAVE_NET_ETHERNET_H 1
+/* #undef HAVE_NET_ETHERNET_H */
 
 /* Define if you have the <net/if.h> header file.  */
 #define HAVE_NET_IF_H 1
@@ -96,7 +96,7 @@
 /* #undef HAVE_NET_IF_TYPES_H */
 
 /* Define if you have the <netinet/if_ether.h> header file.  */
-#define HAVE_NETINET_IF_ETHER_H 1
+/* #undef HAVE_NETINET_IF_ETHER_H */
 
 /* Define if you have the <netpacket/packet.h> header file.  */
 #define HAVE_NETPACKET_PACKET_H 1
diff -ru src.orig//pppd/plugins/rp-pppoe/plugin.c src/pppd/plugins/rp-pppoe/plugin.c
--- src.orig//pppd/plugins/rp-pppoe/plugin.c	2014-02-05 18:12:19.420357767 +0100
+++ src/pppd/plugins/rp-pppoe/plugin.c	2014-02-05 18:20:56.180188183 +0100
@@ -46,7 +46,9 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <signal.h>
+#ifdef HAVE_NET_ETHERNET_H
 #include <net/ethernet.h>
+#endif
 #include <net/if_arp.h>
 #include <linux/ppp_defs.h>
 #include <linux/if_pppox.h>
