Am 22.10.2021 um 11:52 hat Fabrice Fontaine geschrieben: > Include linux/falloc.h if CONFIG_FALLOCATE_ZERO_RANGE is defined to fix > https://gitlab.com/qemu-project/qemu/-/commit/50482fda98bd62e072c30b7ea73c985c4e9d9bbb > and avoid the following build failure on musl: > > ../block/export/fuse.c: In function 'fuse_fallocate': > ../block/export/fuse.c:643:21: error: 'FALLOC_FL_ZERO_RANGE' undeclared > (first use in this function) > 643 | else if (mode & FALLOC_FL_ZERO_RANGE) { > | ^~~~~~~~~~~~~~~~~~~~ > > Fixes: > - > http://autobuild.buildroot.org/results/be24433a429fda681fb66698160132c1c99bc53b > > Signed-off-by: Fabrice Fontaine <fontaine.fabr...@gmail.com>
Thanks, applied to the block branch. Kevin