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