diff --git a/src/dos/cdrom_aspi_win32.cpp b/src/dos/cdrom_aspi_win32.cpp index d1d5a930..9482a1e1 100644 --- a/src/dos/cdrom_aspi_win32.cpp +++ b/src/dos/cdrom_aspi_win32.cpp @@ -33,6 +33,9 @@ #include #include // Ioctl stuff #else +#ifdef __MINGW64_VERSION_MAJOR +#include +#endif #include "ddk/ntddcdrm.h" // Ioctl stuff #include "ddk/ntddscsi.h" #endif