From 3e823e7925873aa1aa520dd3d72d944f080a1993 Mon Sep 17 00:00:00 2001 From: Stijn Van der Borght Date: Thu, 2 Apr 2020 10:34:36 +0100 Subject: [PATCH] fix vc15 compile errors --- common/popl.hpp | 3 +++ common/utils/string_utils.hpp | 3 +++ doc/build.md | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/common/popl.hpp b/common/popl.hpp index f442b514..91f35c52 100644 --- a/common/popl.hpp +++ b/common/popl.hpp @@ -33,6 +33,9 @@ #include #include #include +#ifdef WINDOWS +#include +#endif namespace popl diff --git a/common/utils/string_utils.hpp b/common/utils/string_utils.hpp index 5bd01f98..03428702 100644 --- a/common/utils/string_utils.hpp +++ b/common/utils/string_utils.hpp @@ -24,6 +24,9 @@ #include #include #include +#ifdef WINDOWS +#include +#endif namespace utils { diff --git a/doc/build.md b/doc/build.md index d84d43ab..f6b39542 100644 --- a/doc/build.md +++ b/doc/build.md @@ -314,7 +314,7 @@ This example will show you how to add snapcast to [Buildroot](https://buildroot. Prerequisites: * CMake - * Visual Studio 2019 with C++ + * Visual Studio 2017 or 2019 with C++ Set up [vcpkg](https://github.com/Microsoft/vcpkg)