vcpkg/ports/freeopcua/fix-std-headers.patch
yurybura 24e8be5fcf
[boost] update to 1.73.0 ()
* [boost] update to 1.73

* [ompl] remove dependency to boost-disjoint-sets

* [libtorrent] include fixes from RC_1_2 branch

* [liblas] fix boost headers

* [freeopcua] fix std headers

* [pcl] fix build with Boost 1.73.0

* [hpx] fix build with Boost 1.73.0

* [libmysql] fix conflict with C++20 header <version>

* [boost-modular-build-helper] move port-specific b2 options to the file `<port_dir>/b2-options.cmake`
[boost-python] support Python2 (fixes )

* [boost-python] remove Python executable from user-config

* [libtorrent] update version after merge

* [libtorrent] add boost-variant dependency
2020-05-13 10:26:05 -07:00

25 lines
556 B
Diff

diff --git a/include/opc/ua/protocol/utils.h b/include/opc/ua/protocol/utils.h
index e23bffe..5c8c2ad 100644
--- a/include/opc/ua/protocol/utils.h
+++ b/include/opc/ua/protocol/utils.h
@@ -22,6 +22,7 @@
#include <iomanip>
#include <sstream>
#include <vector>
+#include <algorithm>
namespace OpcUa
{
diff --git a/src/core/model_impl.h b/src/core/model_impl.h
index 0f548c5..c29626b 100644
--- a/src/core/model_impl.h
+++ b/src/core/model_impl.h
@@ -20,6 +20,7 @@
#pragma once
#include <opc/ua/model.h>
+#include <algorithm>
namespace OpcUa
{