From fcd61d937f217baf4ae328781bd07e8bce5a6ce8 Mon Sep 17 00:00:00 2001 From: Zach Dykstra Date: Tue, 1 Aug 2023 11:01:32 -0500 Subject: [PATCH] readmmap.c: fix building with MUSL libc glibc includes sys/types.h from stdlib.h. This is not the case for MUSL, so explicitly include it. Fixes usage of uint_t. Reviewed-by: Brian Behlendorf Signed-off-by: Zach Dykstra Closes #15130 --- tests/zfs-tests/cmd/readmmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/zfs-tests/cmd/readmmap.c b/tests/zfs-tests/cmd/readmmap.c index 704ffd55c8a5..a5c8079d0e46 100644 --- a/tests/zfs-tests/cmd/readmmap.c +++ b/tests/zfs-tests/cmd/readmmap.c @@ -44,6 +44,7 @@ #include #include #include +#include #include int