fix mdk3 compilation on mips platforms
authorFlorian Fainelli <florian@openwrt.org>
Sun, 1 Nov 2009 09:31:21 +0000 (09:31 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 1 Nov 2009 09:31:21 +0000 (09:31 +0000)
SVN-Revision: 18257

net/mdk3/patches/001-radiotap_needs_types_h.patch [new file with mode: 0644]

diff --git a/net/mdk3/patches/001-radiotap_needs_types_h.patch b/net/mdk3/patches/001-radiotap_needs_types_h.patch
new file mode 100644 (file)
index 0000000..77a155a
--- /dev/null
@@ -0,0 +1,11 @@
+diff -urN mdk3-v6/osdep/radiotap/radiotap-parser.c mdk3-v6.new/osdep/radiotap/radiotap-parser.c
+--- mdk3-v6/osdep/radiotap/radiotap-parser.c   2009-08-16 18:16:14.000000000 +0200
++++ mdk3-v6.new/osdep/radiotap/radiotap-parser.c       2009-11-01 10:30:08.000000000 +0100
+@@ -18,6 +18,7 @@
+ #include <stdio.h>
+ #include <errno.h>
++#include <sys/types.h>
+ #include "radiotap-parser.h"