e8845130ef71d00c6cf17eb550078f9bec894c1a
[oweals/openwrt.git] / tools / squashfs4 / patches / 130-include_sysmacros.patch
1 --- a/squashfs-tools/mksquashfs.c
2 +++ b/squashfs-tools/mksquashfs.c
3 @@ -33,6 +33,7 @@
4  #include <stddef.h>
5  #include <sys/time.h>
6  #include <sys/types.h>
7 +#include <sys/sysmacros.h>
8  #include <sys/stat.h>
9  #include <fcntl.h>
10  #include <errno.h>
11 --- a/squashfs-tools/unsquashfs.c
12 +++ b/squashfs-tools/unsquashfs.c
13 @@ -30,6 +30,7 @@
14  #include "xattr.h"
15  
16  #include <sys/types.h>
17 +#include <sys/sysmacros.h>
18  
19  struct cache *fragment_cache, *data_cache;
20  struct queue *to_reader, *to_deflate, *to_writer, *from_writer;