1 --- a/squashfs-tools/mksquashfs.c
2 +++ b/squashfs-tools/mksquashfs.c
4 #include <sys/sysinfo.h>
8 +#define FNM_EXTMATCH 0
12 #define TRACE(s, args...) \
14 --- a/squashfs-tools/unsquashfs.h
15 +++ b/squashfs-tools/unsquashfs.h
17 #define __BYTE_ORDER BYTE_ORDER
18 #define __BIG_ENDIAN BIG_ENDIAN
19 #define __LITTLE_ENDIAN LITTLE_ENDIAN
20 +#include <sys/sysctl.h>
23 +#include <sys/sysinfo.h>
27 +#define FNM_EXTMATCH 0
30 #include "squashfs_fs.h"
31 --- a/squashfs-tools/unsquashfs.c
32 +++ b/squashfs-tools/unsquashfs.c
34 #include "compressor.h"
37 -#include <sys/sysinfo.h>
38 #include <sys/types.h>
40 struct cache *fragment_cache, *data_cache;