squashfs4: use upstream xz compression header format
[openwrt/openwrt.git] / tools / squashfs4 / patches / 160-expose_lzma_xz_options.patch
index 2fbd9548590ea17a4e14d29ddf1b47685a22caa9..9e1c1fbb1eafd04701cd09f4730d63038a90664d 100644 (file)
@@ -40,6 +40,7 @@
 +
 +
 +struct lzma_opts {
++      uint32_t dict_size;
 +      uint32_t flags;
 +#define LZMA_OPT_FLT_MASK     0xffff
 +#define LZMA_OPT_PRE_OFF      16
@@ -53,7 +54,6 @@
 +#define LZMA_OPT_PB_OFF               6
 +#define LZMA_OPT_PB_MASK      (0x7 << LZMA_OPT_PB_OFF)
 +      uint16_t fb;
-+      uint32_t dict_size;
 +};
 +
 +#if __BYTE_ORDER == __BIG_ENDIAN