From 1e0c34ca6ab7f9fab69b2e0a25184db8ccbbceff Mon Sep 17 00:00:00 2001
From: Maxime Bizon <mbizon@freebox.fr>
Date: Thu, 16 Jan 2020 01:29:20 +0100
Subject: [PATCH 15/18] build: fix for musl

---
 pppd/Makefile.linux            | 2 +-
 pppd/plugins/rp-pppoe/config.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux
index 4f035a3..d312b7c 100644
--- a/pppd/Makefile.linux
+++ b/pppd/Makefile.linux
@@ -79,7 +79,7 @@ PLUGIN=y
 #USE_SRP=y
 
 # Use libutil
-USE_LIBUTIL=y
+#USE_LIBUTIL=y
 
 MAXOCTETS=y
 
diff --git a/pppd/plugins/rp-pppoe/config.h b/pppd/plugins/rp-pppoe/config.h
index a708859..ebaf596 100644
--- a/pppd/plugins/rp-pppoe/config.h
+++ b/pppd/plugins/rp-pppoe/config.h
@@ -60,7 +60,7 @@
 #define HAVE_GETOPT_H 1
 
 /* Define if you have the <linux/if_ether.h> header file.  */
-#define HAVE_LINUX_IF_ETHER_H 1
+/* #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
-- 
2.17.1

