diff options
author | alaviss <[email protected]> | 2020-06-05 19:22:10 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-05 17:22:10 -0700 |
commit | 13dd63ff81e5c774a9ff9522e5dd008dac1fc150 (patch) | |
tree | 4322dc6b0488d54c27e57519c1a3ee4bc1a72e01 /tests/zfs-tests | |
parent | 63761a8f1abd084dbae8a284e48c25d87ae9080e (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.c | 2 |
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 |