[kernel] ARM: fix XZ decompressor stub build failure on strstr()

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33915 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2012-10-24 15:57:31 +00:00
parent 9a5ebab4f6
commit c7f277a21e
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- a/arch/arm/boot/compressed/decompress.c
+++ b/arch/arm/boot/compressed/decompress.c
@@ -47,6 +47,7 @@ extern void error(char *);
#ifdef CONFIG_KERNEL_XZ
#define memmove memmove
#define memcpy memcpy
+extern char * strstr(const char *, const char *);
#include "../../../../lib/decompress_unxz.c"
#endif