diff --git a/src/tools/launcher/openwithprogram.cpp b/src/tools/launcher/openwithprogram.cpp index 28cb1a6f..8d69257f 100644 --- a/src/tools/launcher/openwithprogram.cpp +++ b/src/tools/launcher/openwithprogram.cpp @@ -21,8 +21,12 @@ #include "src/utils/filenamehandler.h" #include #include -#include #include +#ifdef _WIN32_WINNT +#undef _WIN32_WINNT +#define _WIN32_WINNT 0x601 +#endif +#include #pragma comment(lib, "Shell32.lib") #else