[package] fix aircrack-ng compilation on mips platforms
[packages.git] / net / aircrack-ng / patches / 001-radiotap_need_types_h.patch
diff --git a/net/aircrack-ng/patches/001-radiotap_need_types_h.patch b/net/aircrack-ng/patches/001-radiotap_need_types_h.patch
new file mode 100644 (file)
index 0000000..7e258b0
--- /dev/null
@@ -0,0 +1,11 @@
+diff -urN aircrack-ng-1.0/src/osdep/radiotap/radiotap-parser.c aircrack-ng-1.0.new/src/osdep/radiotap/radiotap-parser.c
+--- aircrack-ng-1.0/src/osdep/radiotap/radiotap-parser.c       2009-06-14 17:07:09.000000000 +0200
++++ aircrack-ng-1.0.new/src/osdep/radiotap/radiotap-parser.c   2009-11-01 10:23:59.000000000 +0100
+@@ -18,6 +18,7 @@
+ #include <stdio.h>
+ #include <errno.h>
++#include <sys/types.h>
+ #include "radiotap-parser.h"