mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-27 14:00:45 -04:00
21 lines
459 B
Plaintext
21 lines
459 B
Plaintext
$NetBSD: patch-ae,v 1.1 2006/01/08 21:22:58 joerg Exp $
|
|
|
|
--- src/sniffer.c.orig 2006-01-08 21:11:22.000000000 +0000
|
|
+++ src/sniffer.c
|
|
@@ -8,13 +8,12 @@
|
|
#include <unistd.h>
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
-#if __FreeBSD__
|
|
+#if defined(__FreeBSD__) || defined(__DragonFly__)
|
|
#include <net/ethernet.h>
|
|
#else
|
|
#include <net/route.h>
|
|
#include <net/if.h>
|
|
-#if __OpenBSD__
|
|
-#else
|
|
+#if !defined(__OpenBSD__)
|
|
#include <net/if_ether.h>
|
|
#endif
|
|
#endif
|