1 ------------------------------------------------------------------------
2 r77542 | vboxsync | 2019-03-03 05:40:17 +0100 (nie, 03 mar 2019) | 1 line
4 linux/vboxsf: MS_REMOUNT and friends moved to uapi/linux/mount.h in 5.0 (rc8), so we need to include it to use it. bugref:9172
6 Index: src/VBox/Additions/linux/sharedfolders/vfsmod.c
7 ===================================================================
8 --- src/VBox/Additions/linux/sharedfolders/vfsmod.c (revision 77541)
9 +++ src/VBox/Additions/linux/sharedfolders/vfsmod.c (revision 77542)
11 #include "revision-generated.h"
12 #include "product-generated.h"
13 #include "VBoxGuestR0LibInternal.h"
14 -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
15 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0)
16 +# include <uapi/linux/mount.h> /* for MS_REMOUNT */
17 +#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
18 # include <linux/mount.h>
20 #include <linux/seq_file.h>
22 ------------------------------------------------------------------------