Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From fdb64d21560bfdafeefccc7d20e105e4857faa99 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 28 Mar 2017 19:20:07 -0700 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 4 | Subject: [PATCH] ppoe: Dont include linux/if_ether.h |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 5 | |
| 6 | Fixes build with musl |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 9 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 10 | --- |
| 11 | src/pppoe.h | 4 ---- |
| 12 | 1 file changed, 4 deletions(-) |
| 13 | |
| 14 | diff --git a/src/pppoe.h b/src/pppoe.h |
| 15 | index ec067a0..281879c 100644 |
| 16 | --- a/src/pppoe.h |
| 17 | +++ b/src/pppoe.h |
| 18 | @@ -127,10 +127,6 @@ typedef unsigned long UINT32_t; |
| 19 | #error Could not find a 32-bit integer type |
| 20 | #endif |
| 21 | |
| 22 | -#ifdef HAVE_LINUX_IF_ETHER_H |
| 23 | -#include <linux/if_ether.h> |
| 24 | -#endif |
| 25 | - |
| 26 | #include <netinet/in.h> |
| 27 | |
| 28 | #ifdef HAVE_NETINET_IF_ETHER_H |