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

SVN-Revision: 33915
owl
Florian Fainelli 2012-10-24 15:57:31 +00:00
parent b5c27880ee
commit df6f9072ab
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