summaryrefslogtreecommitdiff
path: root/package/kismet/patches/patch-dumpfile_tuntap_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-06 10:01:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-06 10:01:36 +0100
commitdc78a21a21568a389cf214ff29113f99286d644a (patch)
treeef919a6eedf02a20128dd2b8a7f008353698a1cc /package/kismet/patches/patch-dumpfile_tuntap_h
parente96c649294fd763fa8631b866397a07b9434bbd3 (diff)
parent191b566ae5e66d2180924a4151f67e635fd12ad5 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/kismet/patches/patch-dumpfile_tuntap_h')
-rw-r--r--package/kismet/patches/patch-dumpfile_tuntap_h18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/kismet/patches/patch-dumpfile_tuntap_h b/package/kismet/patches/patch-dumpfile_tuntap_h
new file mode 100644
index 000000000..f669446f5
--- /dev/null
+++ b/package/kismet/patches/patch-dumpfile_tuntap_h
@@ -0,0 +1,18 @@
+--- kismet-2013-03-R1b.orig/dumpfile_tuntap.h 2013-03-27 15:41:48.000000000 +0100
++++ kismet-2013-03-R1b/dumpfile_tuntap.h 2014-01-02 20:53:21.000000000 +0100
+@@ -65,7 +65,15 @@
+ #include "dumpfile.h"
+
+ #ifdef SYS_LINUX
++#if defined(__GLIBC__)
+ #include <linux/if_tun.h>
++#else
++#define IFF_TUN 0x0001
++#define IFF_TAP 0x0002
++#define IFF_NO_PI 0x1000
++#define TUNSETNOCSUM _IOW('T', 200, int)
++#define TUNSETIFF _IOW('T', 202, int)
++#endif
+
+ // Linux IEEE80211 link typ to set
+ #define LNX_LINKTYPE_80211 801