diff --git a/components/files/configurationmanager.hpp b/components/files/configurationmanager.hpp index 7d77df9c00..7fb3793c64 100644 --- a/components/files/configurationmanager.hpp +++ b/components/files/configurationmanager.hpp @@ -1,7 +1,11 @@ #ifndef COMPONENTS_FILES_CONFIGURATIONMANAGER_HPP #define COMPONENTS_FILES_CONFIGURATIONMANAGER_HPP +#ifdef _WIN32 +#include +#else #include +#endif #include #include diff --git a/components/files/fixedpath.hpp b/components/files/fixedpath.hpp index 4e054b17ff..9e5c4f8f26 100644 --- a/components/files/fixedpath.hpp +++ b/components/files/fixedpath.hpp @@ -30,7 +30,7 @@ #include namespace Files { typedef LinuxPath TargetPathType; } -#elif defined(__WIN32) || defined(__WINDOWS__) +#elif defined(__WIN32) || defined(__WINDOWS__) || defined(_WIN32) #include namespace Files { typedef WindowsPath TargetPathType; }