a7967bada9
c9d9dbf pppoe: Custom host-uniq tag 44012ae plugins/rp-pppoe: Fix compile errors Refresh patches Drop 520-uniq patch as upstream accepted Drop 150-debug_compile_fix patch as fixed upstream Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
37 lines
780 B
Diff
37 lines
780 B
Diff
--- a/pppd/plugins/rp-pppoe/pppoe.h
|
|
+++ b/pppd/plugins/rp-pppoe/pppoe.h
|
|
@@ -52,11 +52,7 @@
|
|
#include <netinet/in.h>
|
|
|
|
/* Ugly header files on some Linux boxes... */
|
|
-#if defined(HAVE_LINUX_IF_H)
|
|
-#include <linux/if.h>
|
|
-#elif defined(HAVE_NET_IF_H)
|
|
#include <net/if.h>
|
|
-#endif
|
|
|
|
#ifdef HAVE_NET_IF_TYPES_H
|
|
#include <net/if_types.h>
|
|
@@ -84,20 +80,7 @@ typedef unsigned long UINT32_t;
|
|
#error Could not find a 32-bit integer type
|
|
#endif
|
|
|
|
-#ifdef HAVE_LINUX_IF_ETHER_H
|
|
-#include <linux/if_ether.h>
|
|
-#endif
|
|
-
|
|
-#ifdef HAVE_NETINET_IF_ETHER_H
|
|
-#include <sys/types.h>
|
|
-
|
|
-#ifdef HAVE_SYS_SOCKET_H
|
|
-#include <sys/socket.h>
|
|
-#endif
|
|
-#ifndef HAVE_SYS_DLPI_H
|
|
-#include <netinet/if_ether.h>
|
|
-#endif
|
|
-#endif
|
|
+#include <net/ethernet.h>
|
|
|
|
|
|
/* Ethernet frame types according to RFC 2516 */
|