blob: 7fef127e66159ce6422bdda6db431989b07f6c90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ab,v 1.2 2007/06/17 01:40:51 hubertf Exp $
--- base/pcap-snoop.c.orig 2002-09-09 23:02:58.000000000 +0200
+++ base/pcap-snoop.c
@@ -49,7 +49,9 @@ static char *RCSSTRING="$Id: pcap-snoop.
#include <pcap.h>
#include <unistd.h>
+#if !defined(__DragonFly__) && !defined(__APPLE__)
#include <net/bpf.h>
+#endif
#ifndef _WIN32
#include <sys/param.h>
#endif
|