VirtualBox

Ignore:
Timestamp:
Mar 3, 2019 4:40:17 AM (6 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c

    r77538 r77542  
    4646#include "revision-generated.h"
    4747#include "product-generated.h"
    48 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
     48#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0)
     49# include <uapi/linux/mount.h> /* for MS_REMOUNT */
     50#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
    4951# include <linux/mount.h>
    5052#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette