$NetBSD: patch-ab,v 1.2 2012/11/16 20:10:20 joerg Exp $ --- src/pcaputil.c.orig 2003-09-12 21:23:39.000000000 +0000 +++ src/pcaputil.c @@ -47,9 +47,9 @@ #include #include -#include "labrea.h" -#include "utils.h" -#include "pcaputil.h" +#include "../inc/labrea.h" +#include "../inc/utils.h" +#include "../inc/pcaputil.h" pcap_t * pcap_open(char *device) @@ -64,7 +64,7 @@ pcap_open(char *device) if ((pcap = pcap_open_live(device, 31337, 1, PCAP_TIMEOUT, ebuf)) == NULL) return (NULL); -#ifdef BSD +#if defined(BSD) && defined(BIOCIMMEDIATE) { int n = 1;