diff --git a/VirtualBox/src/VBox/Devices/Storage/DrvHostDVD.cpp b/VirtualBox/src/VBox/Devices/Storage/DrvHostDVD.cpp index 4838288..b5be4b6 100644 --- a/VirtualBox/src/VBox/Devices/Storage/DrvHostDVD.cpp +++ b/VirtualBox/src/VBox/Devices/Storage/DrvHostDVD.cpp @@ -50,7 +50,12 @@ # define _LINUX_BYTEORDER_SWAB_H # define _LINUX_BYTEORDER_SWABB_H /* Those macros that are needed are defined in the header below */ +# include +#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,28) # include "swab.h" +#else +# include +#endif # include # include # include