Add support for kfreebsd architecture
Index: kismet-debian/configure.in
===================================================================
--- kismet-debian.orig/configure.in	2013-04-21 18:23:32.224854426 +0200
+++ kismet-debian/configure.in	2013-04-21 18:26:20.310741300 +0200
@@ -65,7 +65,7 @@
 		AC_DEFINE(SYS_LINUX, 1, Compiling for Linux OS)
         linux="yes"
 		;;
-	freebsd*)
+	freebsd* | kfreebsd*)
 		AC_MSG_RESULT(none needed)
 		AC_DEFINE(SYS_FREEBSD, 1, Compiling for FreeBSD)
 		bsd="yes"
@@ -126,7 +126,7 @@
 		AC_DEFINE(SYS_LINUX, 1, Compiling for Linux OS)
         linux="yes"
 		;;
-    freebsd*)
+    freebsd* | kfreebsd*)
         AC_MSG_RESULT(none needed)
         AC_DEFINE(SYS_FREEBSD, 1, Compiling for FreeBSD)
 		bsd="yes"
Index: kismet-debian/packetsource_bsdrt.cc
===================================================================
--- kismet-debian.orig/packetsource_bsdrt.cc	2013-04-21 18:23:32.224854426 +0200
+++ kismet-debian/packetsource_bsdrt.cc	2013-04-21 18:26:20.310741300 +0200
@@ -27,6 +27,10 @@
 #include <net80211/ieee80211_ioctl.h>
 #endif
 
+#ifdef SYS_FREEBSD
+#include <net/if_media.h>
+#endif
+
 #if (defined(HAVE_LIBPCAP) && (defined(SYS_OPENBSD) || defined(SYS_NETBSD) || \
 							   defined(SYS_FREEBSD)))
 
Index: kismet-debian/packetsource_pcap.cc
===================================================================
--- kismet-debian.orig/packetsource_pcap.cc	2013-04-21 18:23:32.224854426 +0200
+++ kismet-debian/packetsource_pcap.cc	2013-04-21 18:26:20.310741300 +0200
@@ -72,6 +72,7 @@
 #include <sys/socket.h>
 #include <net/if.h>
 #include <net/if_media.h>
+#include <net/bpf.h>
 
 #ifdef HAVE_RADIOTAP
 #include <net80211/ieee80211_ioctl.h>
Index: kismet-debian/configure
===================================================================
--- kismet-debian.orig/configure	2013-04-21 18:23:32.224854426 +0200
+++ kismet-debian/configure	2013-04-21 18:29:12.812572658 +0200
@@ -3710,7 +3710,7 @@
 
         linux="yes"
 		;;
-	freebsd*)
+	freebsd* | kfreebsd*)
 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 $as_echo "none needed" >&6; }
 
@@ -3794,7 +3794,7 @@
 
         linux="yes"
 		;;
-    freebsd*)
+    freebsd* | kfreebsd*)
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 $as_echo "none needed" >&6; }
 
