aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/audiocd/win32/win32-audiocd.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/audiocd/win32/win32-audiocd.cpp b/backends/audiocd/win32/win32-audiocd.cpp
index 64a7a1b9ec..8037a179a4 100644
--- a/backends/audiocd/win32/win32-audiocd.cpp
+++ b/backends/audiocd/win32/win32-audiocd.cpp
@@ -61,11 +61,15 @@
#include "common/str.h"
#include "common/timer.h"
-#ifdef _MSC_VER
+#if defined(_MSC_VER)
#include <winioctl.h>
#include <ntddcdrm.h>
-#else
+#elif defined(__MINGW32__) && !defined(__MINGW64__)
+// Classic MinGW uses non standard paths for DDK headers.
#include <ddk/ntddcdrm.h>
+#else
+#include <winioctl.h>
+#include <ntddcdrm.h>
#endif
class Win32AudioCDStream : public AudioCDStream {