aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-15 04:06:45 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-15 04:06:45 +0000
commit4a4a34393badf484c585001ba8baa1c97f80b7b9 (patch)
tree535548dc6b788cca9d337a53b028d31d4fbd39e9
parent3ea5943f7f8a62d0339e8bcc9a8ed19b2193a078 (diff)
parenta3a652d3d73bb8b135c4c9d9e33541f130f984a3 (diff)
downloadsquashfs-tools-android14-release.tar.gz
Change-Id: I9990c977d881c4ebf6592b2acb00e52f85deeda4
-rw-r--r--squashfs-tools/mksquashfs.c1
-rw-r--r--squashfs-tools/unsquashfs.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/squashfs-tools/mksquashfs.c b/squashfs-tools/mksquashfs.c
index dd75aaa..f122c25 100644
--- a/squashfs-tools/mksquashfs.c
+++ b/squashfs-tools/mksquashfs.c
@@ -50,6 +50,7 @@
#include <sys/wait.h>
#include <limits.h>
#include <ctype.h>
+#include <sys/sysmacros.h>
#ifndef FNM_EXTMATCH /* glibc extension */
#define FNM_EXTMATCH 0
diff --git a/squashfs-tools/unsquashfs.c b/squashfs-tools/unsquashfs.c
index 0dbc4c2..643883b 100644
--- a/squashfs-tools/unsquashfs.c
+++ b/squashfs-tools/unsquashfs.c
@@ -37,6 +37,7 @@
#include <sys/sysinfo.h>
#endif
+#include <sys/sysmacros.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>