From 952c48c5cf6fed5c49a44a197e1a0ab4fa5bee9e Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 6 Nov 2014 18:58:14 +0000 Subject: [PATCH] This seems to make i686-MinGW-w64 happy. Combination of patch 261 on SF.net and input on IRC Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3872 --- src/dos/cdrom_aspi_win32.cpp | 3 +++ 1 file changed, 3 insertions(+) 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