VirtualBox

Changeset 89690 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Jun 14, 2021 6:33:10 PM (4 years ago)
Author:
vboxsync
Message:

Linux host&guest drivers: fix build for SLES 15 SP3, bugref:4567.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h

    r86547 r89690  
    138138#include <linux/completion.h>
    139139#include <linux/compiler.h>
    140 #if RTLNX_VER_MIN(5,9,0) /* linux/fs.h defined HAVE_UNLOCKED_IOCTL from 2.6.11 up to 5.9, when it became an implicit assumption. */
     140#if RTLNX_VER_MIN(5,9,0) || RTLNX_SUSE_MAJ_PREREQ(15,3) /* linux/fs.h defined HAVE_UNLOCKED_IOCTL from 2.6.11 up to 5.9 (also 5.3.18-56 in SLES15-SP3), when it became an implicit assumption. */
    141141# define HAVE_UNLOCKED_IOCTL 1 /* We use this in a couple of places, so for now just define it for 5.9+ too. */
    142142#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