From 5cb5ac8d37f64d00e82984c957b0277bf5479c22 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Mon, 29 Jul 2024 19:56:47 +0200 Subject: [PATCH] Add MS_NOSYMFOLLOW compat definition After commit 54466d2c426b compilation was failing on my debian VM. --- include/fuse_mount_compat.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 /* 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 -- 2.30.2