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

SVN-Revision: 33915
This commit is contained in:
Florian Fainelli 2012-10-24 15:57:31 +00:00
parent b5c27880ee
commit df6f9072ab

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