$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.
