diff --git a/Core/HLE/sceUsbMic.cpp b/Core/HLE/sceUsbMic.cpp index 19607cdcc6..7c8477f25a 100644 --- a/Core/HLE/sceUsbMic.cpp +++ b/Core/HLE/sceUsbMic.cpp @@ -25,12 +25,15 @@ #include "Core/HLE/sceUsbMic.h" #include "Core/CoreTiming.h" #include "Core/MemMapHelpers.h" -#include "Windows/CaptureDevice.h" #if defined(_WIN32) && !PPSSPP_PLATFORM(UWP) && !defined(__LIBRETRO__) #define HAVE_WIN32_MICROPHONE #endif +#ifdef HAVE_WIN32_MICROPHONE +#include "Windows/CaptureDevice.h" +#endif + enum { SCE_USBMIC_ERROR_INVALID_MAX_SAMPLES = 0x80243806, SCE_USBMIC_ERROR_INVALID_SAMPLERATE = 0x8024380A,