From 4881da11df564c8c989ade4e223b31ee8a993776 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 3 Jan 2014 17:55:30 +0100 Subject: another bunch of musl fixes, and some libtinfo fixes --- package/kismet/patches/patch-dumpfile_tuntap_h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/kismet/patches/patch-dumpfile_tuntap_h (limited to 'package/kismet/patches/patch-dumpfile_tuntap_h') 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 ++#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 -- cgit v1.2.3