Add OpenBSD and MirBSD support, no-op for other platforms.

This commit is contained in:
bsiegert 2012-04-07 13:22:31 +00:00
parent 5024402061
commit 6133190452
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.5 2008/10/02 17:01:16 joerg Exp $
$NetBSD: distinfo,v 1.6 2012/04/07 13:22:31 bsiegert Exp $
SHA1 (pppoe.20000912.tar.gz) = e077e02e42cad1266316cdfa87c31bde191e530e
RMD160 (pppoe.20000912.tar.gz) = c0034484f2dbc54a3e1ea9648dfb37f6f25f0a2e
Size (pppoe.20000912.tar.gz) = 9621 bytes
SHA1 (patch-aa) = 89d7ca556a0572d8ee3034607021e2edb058b4d2
SHA1 (patch-aa) = ee659c5313eae1a8f74f1842070fcf39307b037d

View file

@ -1,6 +1,6 @@
$NetBSD: patch-aa,v 1.4 2008/10/02 17:01:16 joerg Exp $
$NetBSD: patch-aa,v 1.5 2012/04/07 13:22:31 bsiegert Exp $
--- pppoe.c.orig 2000-04-21 05:58:32.000000000 +0200
--- pppoe.c.orig Fri Apr 21 03:58:10 2000
+++ pppoe.c
@@ -5,6 +5,7 @@
#include <stdarg.h>
@ -14,7 +14,7 @@ $NetBSD: patch-aa,v 1.4 2008/10/02 17:01:16 joerg Exp $
#include <net/if_dl.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
+#if defined(__DragonFly__) || defined(__FreeBSD__)
+#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#include <netinet/in.h>
+#include <netinet/if_ether.h>
+#else