aboutsummaryrefslogtreecommitdiffstats
path: root/util/fusermount.c
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2025-07-16 00:09:31 +0200
committerBernd Schubert <bernd@bsbernd.com>2025-07-16 10:44:28 +0200
commit5f6d3be57f73c8b79e9b616b0f30464475116084 (patch)
treedfbefc85bf16a79229fb6996eab93e8b365372c7 /util/fusermount.c
parent194023c5999651386a3ddbf91fdd710d661d083b (diff)
downloadlibfuse-5f6d3be57f73c8b79e9b616b0f30464475116084.tar.gz
fusermount: close_range seems to be available on bsd
According to https://man.freebsd.org/cgi/man.cgi?close_range(2) we just need to remove the linux include. Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
Diffstat (limited to 'util/fusermount.c')
-rw-r--r--util/fusermount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index 1b94e8e..9cc08b4 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -36,7 +36,7 @@
#include <stdbool.h>
#include <sys/vfs.h>
-#ifdef HAVE_CLOSE_RANGE
+#if defined HAVE_CLOSE_RANGE && defined linux
#include <linux/close_range.h>
#endif