mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-19 08:12:59 +00:00
Add xz support
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <zlib.h>
|
||||
|
||||
#include "bootimg.h"
|
||||
|
||||
@@ -58,5 +57,6 @@ void parse_img(unsigned char *orig, size_t size);
|
||||
|
||||
// Compressions
|
||||
void gzip(int dec, const char* filename, unsigned char* buf, size_t size);
|
||||
void lzma(int dec, const char* filename, unsigned char* buf, size_t size);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user