Index: libpcap_stuff.c --- libpcap_stuff.c.orig 2002-12-13 15:07:07.000000000 +0100 +++ libpcap_stuff.c 2004-05-03 20:14:42.000000000 +0200 @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include "globals.h" @@ -35,7 +35,7 @@ printf("[open_pcap] pcap_open_live: %s\n", errbuf); return -1; } -#if (!defined OSTYPE_LINUX) && (!defined __sun__) +#if 0 /* Return the packets to userspace as fast as possible */ if (ioctl(pcap_fileno(pcapfp), BIOCIMMEDIATE, &on) == -1) perror("[open_pcap] ioctl(... BIOCIMMEDIATE ...)");