diff --git a/srcpkgs/fio/patches/musl.patch b/srcpkgs/fio/patches/musl.patch new file mode 100644 index 00000000000..758f7f05da5 --- /dev/null +++ b/srcpkgs/fio/patches/musl.patch @@ -0,0 +1,12 @@ +--- a/oslib/linux-blkzoned.c ++++ b/oslib/linux-blkzoned.c +@@ -25,6 +25,9 @@ + #ifndef BLKFINISHZONE + #define BLKFINISHZONE _IOW(0x12, 136, struct blk_zone_range) + #endif ++#ifndef FALLOC_FL_ZERO_RANGE ++#define FALLOC_FL_ZERO_RANGE 0x10 ++#endif + + /* + * If the uapi headers installed on the system lacks zone capacity support,