$NetBSD$

--- pcaputil.c.orig	2006-06-07 12:21:17.000000000 +0000
+++ pcaputil.c
@@ -39,7 +39,7 @@ pcap_open(char *device)
 	if ((pcap = pcap_open_live(device, 31337, 0, 10, ebuf)) == NULL)
 		return (NULL);
 	
-#ifdef BSD
+#if defined(BSD) && defined(BIOCIMMEDIATE)
 	{
 		int n = 1;
 
