mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
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:
parent
63761a8f1a
commit
13dd63ff81
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user