summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-wireless/lorcon/files/lorcon-2020.06.06_p20220216-C99-decls.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-wireless/lorcon/files/lorcon-2020.06.06_p20220216-C99-decls.patch b/net-wireless/lorcon/files/lorcon-2020.06.06_p20220216-C99-decls.patch
new file mode 100644
index 000000000000..9643c0f973cf
--- /dev/null
+++ b/net-wireless/lorcon/files/lorcon-2020.06.06_p20220216-C99-decls.patch
@@ -0,0 +1,20 @@
+--- a/drv_mac80211.c
++++ b/drv_mac80211.c
+@@ -52,6 +52,7 @@
+ #include "lorcon_int.h"
+ #include "lorcon_packasm.h"
+ #include "lorcon_endian.h"
++#include "iwcontrol.h"
+
+ #ifndef IEEE80211_RADIOTAP_FLAGS
+ #define IEEE80211_RADIOTAP_FLAGS (1 << 1)
+--- a/drv_madwifing.c
++++ b/drv_madwifing.c
+@@ -48,6 +48,7 @@
+ #include "ifcontrol_linux.h"
+ #include "madwifing_control.h"
+ #include "lorcon_int.h"
++#include "lorcon_packasm.h"
+
+ /* Monitor, inject, and injmon are all the same method, make a new
+ * mwng VAP */