mac80211: Fix build errors due to missing string function declarations
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 27 Apr 2014 21:53:58 +0000 (21:53 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 27 Apr 2014 21:53:58 +0000 (21:53 +0000)
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 <maarten.bezemer@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40584 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/kernel/mac80211/patches/070-add-missing-header.patch [new file with mode: 0644]

diff --git a/package/kernel/mac80211/patches/070-add-missing-header.patch b/package/kernel/mac80211/patches/070-add-missing-header.patch
new file mode 100644 (file)
index 0000000..9307804
--- /dev/null
@@ -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