blob: 13c92531bff8d1cbf9b8485b8bd9a8652722c79b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ac,v 1.3 2006/06/09 11:08:53 joerg Exp $
--- net_read.c.orig 2006-06-09 10:58:57.000000000 +0000
+++ net_read.c
@@ -89,6 +89,11 @@ char copyright[] =
#include "bsd_sys_queue.h"
#endif
+#if defined(__DragonFly__) && !defined(BIOCGBLEN)
+/* Ugly hack since pcap.h and net/bpf.h are incompatible */
+#define BIOCGBLEN _IOR('B',102, u_int)
+#endif
+
/*
* The default snapshot length. This value allows most printers to print
* useful information while keeping the amount of unwanted data down.
|