aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2024-07-29 19:56:47 +0200
committerBernd Schubert <bernd.schubert@fastmail.fm>2024-07-29 22:22:44 +0200
commit5cb5ac8d37f64d00e82984c957b0277bf5479c22 (patch)
tree22db9600e078f91ce81f64ae93e47a165c76c694 /include
parent54466d2c426b046a90751acbe6b9a5ed37048de0 (diff)
downloadlibfuse-5cb5ac8d37f64d00e82984c957b0277bf5479c22.tar.gz
Add MS_NOSYMFOLLOW compat definition
After commit 54466d2c426b compilation was failing on my debian VM.
Diffstat (limited to 'include')
-rw-r--r--include/fuse_mount_compat.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/fuse_mount_compat.h b/include/fuse_mount_compat.h
index 0142b51..be8d576 100644
--- a/include/fuse_mount_compat.h
+++ b/include/fuse_mount_compat.h
@@ -14,17 +14,24 @@
#include <sys/mount.h>
/* Some libc don't define MS_*, so define them manually
- * (values taken from https://elixir.bootlin.com/linux/v4.0.9/source/include/uapi/linux/fs.h#L68 on)
+ * (values taken from https://elixir.bootlin.com/linux/v6.10/source/include/uapi/linux/mount.h#L13 on)
*/
#ifndef MS_DIRSYNC
#define MS_DIRSYNC 128
#endif
+
+#ifndef MS_NOSYMFOLLOW
+#define MS_NOSYMFOLLOW 256
+#endif
+
#ifndef MS_REC
#define MS_REC 16384
#endif
+
#ifndef MS_PRIVATE
#define MS_PRIVATE (1<<18)
#endif
+
#ifndef MS_LAZYTIME
#define MS_LAZYTIME (1<<25)
#endif