forked from pool/virtualbox
a13acfe59b
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=466
16 lines
567 B
Diff
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);
|
|
|