Changeset 86138 in vbox for trunk/src/VBox
- Timestamp:
- Sep 16, 2020 5:12:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/linux/HostHardwareLinux.cpp
r86137 r86138 40 40 41 41 #include <linux/version.h> 42 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0)43 # include <linux/nvme_ioctl.h>44 #else45 # include <linux/nvme.h>46 #endif47 42 #include <scsi/scsi.h> 48 43 … … 68 63 #include <sys/types.h> 69 64 #include <sys/sysmacros.h> 65 66 /* 67 * Define NVME constant here to allow building 68 * on several kernel versions even if the 69 * building host doesn't contain certain NVME 70 * includes 71 */ 72 #define NVME_IOCTL_ID _IO('N', 0x40) 70 73 71 74
Note:
See TracChangeset
for help on using the changeset viewer.