aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorCismonX <admin@cismon.net>2025-07-09 23:10:03 +0800
committerBernd Schubert <bernd@bsbernd.com>2025-07-13 15:22:29 +0200
commitfc9888e0b281dc0d0fcebcfe0c8c392263b1b308 (patch)
treec01fbbde2f3c9627d21f320a3aa45a256b31bc21 /meson.build
parent21a27e371fbb44e16eec6ef5e18768b476db2e27 (diff)
downloadlibfuse-fc9888e0b281dc0d0fcebcfe0c8c392263b1b308.tar.gz
example/passthrough: support fspacectl()
FreeBSD 14 introduced a new system call, fspacectl(). Currently, it supports one operation mode, SPACECTL_DEALLOC, which is functionally equivalent to Linux fallocate() with FALLOC_FL_KEEP_SIZE|FALLOC_FL_PUNCH_HOLE flags. fspacectl() calls with SPACECTL_DEALLOC is supported on FUSE filesystems via FUSE_FALLOCATE with the aforementioned flags. Signed-off-by: CismonX <admin@cismon.net>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 910a075..16b804e 100644
--- a/meson.build
+++ b/meson.build
@@ -74,7 +74,7 @@ private_cfg.set_quoted('PACKAGE_VERSION', meson.project_version())
# Test for presence of some functions
test_funcs = [ 'fork', 'fstatat', 'openat', 'readlinkat', 'pipe2',
'splice', 'vmsplice', 'posix_fallocate', 'fdatasync',
- 'utimensat', 'copy_file_range', 'fallocate' ]
+ 'utimensat', 'copy_file_range', 'fallocate', 'fspacectl' ]
foreach func : test_funcs
private_cfg.set('HAVE_' + func.to_upper(),
cc.has_function(func, prefix: include_default, args: args_default))