smlinux/net/ppp/musl-fix-headers.patch
PktSurf 974b8a036c Upgraded net/ppp to 2.5.1
Upgraded net/rp-pppoe to 4.0
2024-11-09 20:38:52 +05:30

23 lines
588 B
Diff

diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c
index 561b150..c9a8469 100644
--- a/pppd/sys-linux.c
+++ b/pppd/sys-linux.c
@@ -110,19 +110,11 @@
#define MAX_ADDR_LEN 7
#endif
-#if !defined(__GLIBC__) || __GLIBC__ >= 2
#include <asm/types.h> /* glibc 2 conflicts with linux/types.h */
#include <net/if.h>
#include <net/if_arp.h>
#include <net/route.h>
#include <netinet/if_ether.h>
-#else
-#include <linux/types.h>
-#include <linux/if.h>
-#include <linux/if_arp.h>
-#include <linux/route.h>
-#include <linux/if_ether.h>
-#endif
#include <netinet/in.h>
#include <arpa/inet.h>