--- src/PacketSource.h.orig	2007-11-09 12:03:59.000000000 -0500
+++ src/PacketSource.h	2007-11-09 12:04:16.000000000 -0500
@@ -28,6 +28,8 @@
 #include <sys/time.h>
 #include <sys/ioctl.h>
 #include <sys/socket.h>
+#include <linux/if.h>
+#include <linux/types.h>
 #include <linux/wireless.h>
 #include <pcap.h>
 #else
--- src/capture.c.orig	2007-11-09 12:00:52.000000000 -0500
+++ src/capture.c	2007-11-09 12:01:45.000000000 -0500
@@ -33,6 +33,8 @@
 #include <sys/time.h>
 #include <sys/ioctl.h>
 #include <sys/socket.h>
+#include <linux/if.h>
+#include <linux/types.h>
 #include <linux/wireless.h>
 #include <pcap.h>
 #include <semaphore.h>
--- src/orinoco_hopper.c.orig	2007-11-09 12:02:46.000000000 -0500
+++ src/orinoco_hopper.c	2007-11-09 12:03:08.000000000 -0500
@@ -25,6 +25,8 @@
 #include <string.h>
 #include <sys/ioctl.h>
 #include <sys/socket.h>
+#include <linux/if.h>
+#include <linux/types.h>
 #include <linux/wireless.h>
 #include <unistd.h>
 #include <getopt.h>
