diff --git a/src/stdafx.h b/src/stdafx.h index 3dba52fc..7864d6b9 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -1,14 +1,15 @@ #pragma once -#include -#include -#pragma comment(lib, "ws2_32.lib") - #include #include #include -#include -#if _WIN32_WINNT < 0x0600 // Windows XP or earlier, no GetProcessIdOfThread() + +#include +#include +#pragma comment(lib, "ws2_32.lib") + +#include +#if _WIN32_WINNT <= 0x0600 // Windows XP or earlier, no GetProcessIdOfThread() #include #endif #ifndef __out_xcount diff --git a/src/vld.vcxproj b/src/vld.vcxproj index 7b63b728..ed1f8736 100644 --- a/src/vld.vcxproj +++ b/src/vld.vcxproj @@ -60,7 +60,7 @@ - $(SolutionDir)\lib\;$(SolutionDir)\lib\dbghelp\include;$(SolutionDir)\setup;%(AdditionalIncludeDirectories) + $(SolutionDir)\lib\;$(SolutionDir)\lib\dbghelp\include;$(SolutionDir)\setup;C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\shared;%(AdditionalIncludeDirectories) Use