e8ddcc4540
pcap problem. The former could result in different code for LP64, so bump revision.
16 lines
516 B
Text
16 lines
516 B
Text
$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.
|