diff --git a/sounddsp/EQ.cpp b/sounddsp/EQ.cpp index 7ecb7e83bbe..abf308c389b 100644 --- a/sounddsp/EQ.cpp +++ b/sounddsp/EQ.cpp @@ -31,6 +31,9 @@ #include #if defined(MPT_ENABLE_ARCH_INTRINSICS_SSE) +#if MPT_COMPILER_MSVC +#include +#endif #include #endif diff --git a/sounddsp/Reverb.cpp b/sounddsp/Reverb.cpp index 36b47a1802a..bf2cae4ffc9 100644 --- a/sounddsp/Reverb.cpp +++ b/sounddsp/Reverb.cpp @@ -20,6 +20,9 @@ #include "mpt/base/numbers.hpp" #if defined(MPT_ENABLE_ARCH_INTRINSICS_SSE2) +#if MPT_COMPILER_MSVC +#include +#endif #include #endif diff --git a/tracklib/SampleEdit.cpp b/tracklib/SampleEdit.cpp index 05822da51ff..0e5bfd2ed97 100644 --- a/tracklib/SampleEdit.cpp +++ b/tracklib/SampleEdit.cpp @@ -31,6 +31,9 @@ #endif // MPT_COMPILER_MSVC #if defined(MPT_ENABLE_ARCH_INTRINSICS_SSE2) +#if MPT_COMPILER_MSVC +#include +#endif #include #endif