Building mac80211 failed, due to missing function declarations in 
compat/backport-3.15.c
This patch adds the linux/string.h header file to provide these function 
declarations

Signed-off-by: Maarten Bezemer <[email protected]>
---
 package/kernel/mac80211/patches/999-add-missing-header.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 package/kernel/mac80211/patches/999-add-missing-header.patch

diff --git a/package/kernel/mac80211/patches/999-add-missing-header.patch 
b/package/kernel/mac80211/patches/999-add-missing-header.patch
new file mode 100644
index 0000000..9307804
--- /dev/null
+++ b/package/kernel/mac80211/patches/999-add-missing-header.patch
@@ -0,0 +1,10 @@
+--- a/compat/backport-3.15.c
++++ b/compat/backport-3.15.c
+@@ -11,6 +11,7 @@
+ #include <linux/kernel.h>
+ #include <linux/device.h>
+ #include <linux/of.h>
++#include <linux/string.h>
+ 
+ /**
+  * devm_kstrdup - Allocate resource managed space and
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to