diff --git a/libs/pbd/cpus.cc b/libs/pbd/cpus.cc index 48b919cd96..0f73d51027 100644 --- a/libs/pbd/cpus.cc +++ b/libs/pbd/cpus.cc @@ -32,6 +32,10 @@ #include "pbd/cpus.h" +#if defined(COMPILER_MSVC) && !defined(PTW32_VERSION) +#include // Gets us 'PTW32_VERSION' +#endif + uint32_t hardware_concurrency() {