From 13dd63ff81e5c774a9ff9522e5dd008dac1fc150 Mon Sep 17 00:00:00 2001 From: alaviss Date: Fri, 5 Jun 2020 19:22:10 -0500 Subject: [PATCH] mkfile: include missing headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without these headers, compilation fails on musl libc with offset_t being undeclared and MIN being implictly declared. Reviewed-by: Brian Behlendorf Signed-off-by: Hiếu Lê Closes #10406 --- tests/zfs-tests/cmd/mkfile/mkfile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/zfs-tests/cmd/mkfile/mkfile.c b/tests/zfs-tests/cmd/mkfile/mkfile.c index 211d83c9e..4cf3755fa 100644 --- a/tests/zfs-tests/cmd/mkfile/mkfile.c +++ b/tests/zfs-tests/cmd/mkfile/mkfile.c @@ -34,6 +34,8 @@ #include #include #include +#include +#include #define BLOCKSIZE 512 /* bytes */ #define KILOBYTE 1024