diff options
author | Colin Cross <ccross@android.com> | 2022-02-03 21:10:07 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-02-03 21:10:07 +0000 |
commit | 2b451911478e2b4a43a148eae55cfdfc514b4b29 (patch) | |
tree | 535548dc6b788cca9d337a53b028d31d4fbd39e9 | |
parent | 3721b7e594f1ccddb0670140f49f3b2ceef94f06 (diff) | |
parent | 02c9be58512f818a0c484d0123bc9354c030baee (diff) | |
download | squashfs-tools-2b451911478e2b4a43a148eae55cfdfc514b4b29.tar.gz |
Fix building squashfs-tools against musl am: 5a5d22baaa am: 6bc6c83b57 am: 02c9be5851
Original change: https://android-review.googlesource.com/c/platform/external/squashfs-tools/+/1969979
Change-Id: Ie660aa43eaeea4a4d783b1af111e0578176322bb
-rw-r--r-- | squashfs-tools/mksquashfs.c | 1 | ||||
-rw-r--r-- | squashfs-tools/unsquashfs.c | 1 |
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> |