1
0
forked from pool/virtualbox
virtualbox/fixes_for_5.0.patch

16 lines
567 B
Diff

Index: VirtualBox-5.2.24/src/VBox/Additions/linux/sharedfolders/vfsmod.c
===================================================================
--- VirtualBox-5.2.24.orig/src/VBox/Additions/linux/sharedfolders/vfsmod.c
+++ VirtualBox-5.2.24/src/VBox/Additions/linux/sharedfolders/vfsmod.c
@@ -37,6 +37,9 @@
# include <linux/mount.h>
#endif
#include <linux/seq_file.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0)
+#include <uapi/linux/mount.h>
+#endif
MODULE_DESCRIPTION(VBOX_PRODUCT " VFS Module for Host File System Access");
MODULE_AUTHOR(VBOX_VENDOR);