From: Bernd Schubert Date: Mon, 29 Jul 2024 17:56:47 +0000 (+0200) Subject: Add MS_NOSYMFOLLOW compat definition X-Git-Tag: fuse-3.17.1-rc0~88 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5cb5ac8d37f64d00e82984c957b0277bf5479c22;p=qemu-gpiodev%2Flibfuse.git Add MS_NOSYMFOLLOW compat definition After commit 54466d2c426b compilation was failing on my debian VM. --- 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