--- 07be5a2f830236736b15022da52fa0362ff5c16f +++ 8df3b65952a7ff5437d7443a08c833e32474db0c @@ -44,6 +44,13 @@ extern void error(char *); #include "../../../../lib/decompress_unlzma.c" #endif +#ifdef CONFIG_KERNEL_XZ +#define memmove memmove +#define memcpy memcpy +#include "../../../../lib/decompress_unxz.c" +#endif + + int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x)) { return decompress(input, len, NULL, NULL, output, NULL, error);