Index: bytesex.h
--- bytesex.h.orig	2003-07-28 11:00:55 +0200
+++ bytesex.h	2005-01-24 15:52:19 +0100
@@ -8,6 +8,7 @@
 #define ARS_BYTESEX_H
 
 #if 	defined(__i386__) \
+	|| defined(__amd64__) \
 	|| defined(__alpha__) \
 	|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
 #define BYTE_ORDER_LITTLE_ENDIAN
Index: libpcap_stuff.c
--- libpcap_stuff.c.orig	2002-12-13 15:07:07 +0100
+++ libpcap_stuff.c	2005-01-24 15:51:48 +0100
@@ -17,7 +17,7 @@
 #include <stdlib.h>
 #include <sys/ioctl.h>
 #include <pcap.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
 
 #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 ...)");
