aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/070-add-missing-header.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-04-27 21:53:58 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-04-27 21:53:58 +0000
commit277fb5744976abdd1c94a5ee58adabbd44671647 (patch)
tree1b18448ab26840aeed54861449e91bc9da746f24 /package/kernel/mac80211/patches/070-add-missing-header.patch
parent513b796698fd262e6296af2c7f1459d4d600a951 (diff)
downloadupstream-277fb5744976abdd1c94a5ee58adabbd44671647.tar.gz
upstream-277fb5744976abdd1c94a5ee58adabbd44671647.tar.bz2
upstream-277fb5744976abdd1c94a5ee58adabbd44671647.zip
mac80211: Fix build errors due to missing string function declarations
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> SVN-Revision: 40584
Diffstat (limited to 'package/kernel/mac80211/patches/070-add-missing-header.patch')
-rw-r--r--package/kernel/mac80211/patches/070-add-missing-header.patch10
1 files changed, 10 insertions, 0 deletions
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
index 0000000000..9307804a07
--- /dev/null
+++ b/package/kernel/mac80211/patches/070-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