summaryrefslogtreecommitdiff
path: root/net/mouse-pppoe/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/mouse-pppoe/patches/patch-aa')
-rw-r--r--net/mouse-pppoe/patches/patch-aa20
1 files changed, 17 insertions, 3 deletions
diff --git a/net/mouse-pppoe/patches/patch-aa b/net/mouse-pppoe/patches/patch-aa
index ec69f482b6f..ebf87195c63 100644
--- a/net/mouse-pppoe/patches/patch-aa
+++ b/net/mouse-pppoe/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2001/02/27 17:41:06 hubertf Exp $
+$NetBSD: patch-aa,v 1.3 2006/01/25 17:45:32 joerg Exp $
---- pppoe.c.orig Fri Apr 21 05:58:32 2000
+--- pppoe.c.orig 2000-04-21 03:58:32.000000000 +0000
+++ pppoe.c
@@ -5,6 +5,7 @@
#include <stdarg.h>
@@ -10,7 +10,21 @@ $NetBSD: patch-aa,v 1.2 2001/02/27 17:41:06 hubertf Exp $
#include <net/if.h>
#include <termios.h>
#include <strings.h>
-@@ -677,7 +678,6 @@
+@@ -13,8 +14,13 @@
+ #include <net/if_dl.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
++#if defined(__DragonFly__) || defined(__FreeBSD__)
++#include <netinet/in.h>
++#include <netinet/if_ether.h>
++#else
+ #include <net/if_ether.h>
+ #include <net/ethertypes.h>
++#endif
+
+ extern const char *__progname;
+
+@@ -677,7 +683,6 @@ static void fork_pppd(void)
*ap++ = "nodeflate";
*ap++ = "nodetach";
*ap++ = "noipdefault";