aboutsummaryrefslogtreecommitdiffstats
path: root/tests/zfs-tests
diff options
context:
space:
mode:
authoralaviss <[email protected]>2020-06-05 19:22:10 -0500
committerGitHub <[email protected]>2020-06-05 17:22:10 -0700
commit13dd63ff81e5c774a9ff9522e5dd008dac1fc150 (patch)
tree4322dc6b0488d54c27e57519c1a3ee4bc1a72e01 /tests/zfs-tests
parent63761a8f1abd084dbae8a284e48c25d87ae9080e (diff)
mkfile: include missing headers
Without these headers, compilation fails on musl libc with offset_t being undeclared and MIN being implictly declared. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Hiếu Lê <[email protected]> Closes #10406
Diffstat (limited to 'tests/zfs-tests')
-rw-r--r--tests/zfs-tests/cmd/mkfile/mkfile.c2
1 files changed, 2 insertions, 0 deletions
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 <string.h>
#include <libintl.h>
#include <errno.h>
+#include <sys/stdtypes.h>
+#include <sys/sysmacros.h>
#define BLOCKSIZE 512 /* bytes */
#define KILOBYTE 1024