$NetBSD: patch-aa,v 1.3 2006/01/25 17:45:32 joerg Exp $

--- pppoe.c.orig	2000-04-21 03:58:32.000000000 +0000
+++ pppoe.c
@@ -5,6 +5,7 @@
 #include <stdarg.h>
 #include <unistd.h>
 #include <signal.h>
+#include <sys/socket.h>
 #include <net/if.h>
 #include <termios.h>
 #include <strings.h>
@@ -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";
-    *ap++ = "noipx";
     *ap++ = "nopcomp";
     *ap++ = "nopersist";
     *ap++ = "nopredictor1";
