aboutsummaryrefslogtreecommitdiffstats
path: root/include/cuse_lowlevel.h
diff options
context:
space:
mode:
authorGiulio Benetti <giulio.benetti@benettiengineering.com>2025-04-01 00:53:07 +0200
committerBernd Schubert <bernd@bsbernd.com>2025-04-02 11:05:18 +0200
commit206f4a4ec05cb7ce2f8f47c8f5b4b2c80ea221a2 (patch)
tree9317298ad5ce79c36ef4c45f55520ac1fbd24215 /include/cuse_lowlevel.h
parent9265134c5097d6a640171566510f26633a98614e (diff)
downloadlibfuse-206f4a4ec05cb7ce2f8f47c8f5b4b2c80ea221a2.tar.gz
Fix build with kernel < 5.9
linux/close_range.h is only available since kernel 5.9 and https://github.com/torvalds/linux/commit/60997c3d45d9a67daf01c56d805ae4fec37e0bd8 resulting in the following build failure: ../util/fusermount.c:40:10: fatal error: linux/close_range.h: No such file or directory So let's check for header presence and emit HAVE_LINUX_CLOSE_RANGE_H accordingly and check for it when including <linux/close_range.h> and calling close_range() instead of checking for close_range() function in meson and check against HAVE_CLOSE_RANGE. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Diffstat (limited to 'include/cuse_lowlevel.h')
0 files changed, 0 insertions, 0 deletions