Changeset 18058 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Mar 18, 2009 12:36:00 PM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Storage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvHostDVD.cpp
r16334 r18058 43 43 #elif defined RT_OS_LINUX 44 44 # include <sys/ioctl.h> 45 # include <linux/version.h> 46 /* All the following crap is apparently not necessary anymore since Linux 47 * version 2.6.22. Check for 2.6.23 to be in the safe side. */ 48 # if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23) 45 49 /* This is a hack to work around conflicts between these linux kernel headers 46 50 * and the GLIBC tcpip headers. They have different declarations of the 4 47 51 * standard byte order functions. */ 48 # define _LINUX_BYTEORDER_GENERIC_H 52 # define _LINUX_BYTEORDER_GENERIC_H 53 # include <linux/byteorder/generic.h> 49 54 /* This is another hack for not bothering with C++ unfriendly byteswap macros. */ 50 # define _LINUX_BYTEORDER_SWAB_H 51 # define _LINUX_BYTEORDER_SWABB_H 52 /* Those macros that are needed are defined in the header below */ 53 # include "swab.h" 55 /* Those macros that are needed are defined in the header below. */ 56 # include "swab.h" 57 # endif 54 58 # include <linux/cdrom.h> 55 59 # include <sys/fcntl.h> -
trunk/src/VBox/Devices/Storage/swab.h
r15776 r18058 33 33 #define _VBOX_LINUX_SWAB_H 34 34 35 # 36 # 35 #define _LINUX_BYTEORDER_SWAB_H 36 #define _LINUX_BYTEORDER_SWABB_H 37 37 38 38 #include <asm/types.h>
Note:
See TracChangeset
for help on using the changeset viewer.