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 <behlendorf1@llnl.gov>
Signed-off-by: Hiếu Lê <leorize+oss@disroot.org>
Closes #10406
This commit is contained in:
alaviss 2020-06-05 19:22:10 -05:00 committed by GitHub
parent 63761a8f1a
commit 13dd63ff81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,8 @@
#include <string.h> #include <string.h>
#include <libintl.h> #include <libintl.h>
#include <errno.h> #include <errno.h>
#include <sys/stdtypes.h>
#include <sys/sysmacros.h>
#define BLOCKSIZE 512 /* bytes */ #define BLOCKSIZE 512 /* bytes */
#define KILOBYTE 1024 #define KILOBYTE 1024