aboutsummaryrefslogtreecommitdiff
path: root/ports/boost-asio/windows_alloca_header.patch
diff options
context:
space:
mode:
authorCurtis J Bezault <curtbezault@gmail.com>2019-07-19 08:08:08 -0700
committerGitHub <noreply@github.com>2019-07-19 08:08:08 -0700
commit18c849daea115310d7ee985e5af99ba96e6b79fe (patch)
treee8fdf76fe31cd299c84a1e16877aa217c9bab9d5 /ports/boost-asio/windows_alloca_header.patch
parente81d22ddec6887a497055d4804a004ca662b4526 (diff)
parent618fa203c13c30bd19826988cff66481bca0562f (diff)
downloadvcpkg-18c849daea115310d7ee985e5af99ba96e6b79fe.tar.gz
vcpkg-18c849daea115310d7ee985e5af99ba96e6b79fe.zip
Merge branch 'master' into external_file_abi
Diffstat (limited to 'ports/boost-asio/windows_alloca_header.patch')
-rw-r--r--ports/boost-asio/windows_alloca_header.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/boost-asio/windows_alloca_header.patch b/ports/boost-asio/windows_alloca_header.patch
new file mode 100644
index 000000000..609e1ebfe
--- /dev/null
+++ b/ports/boost-asio/windows_alloca_header.patch
@@ -0,0 +1,15 @@
+diff --git a/include/boost/asio/detail/impl/socket_ops.ipp b/include/boost/asio/detail/impl/socket_ops.ipp
+index 7d7c31f..d2cd468 100644
+--- a/include/boost/asio/detail/impl/socket_ops.ipp
++++ b/include/boost/asio/detail/impl/socket_ops.ipp
+@@ -27,6 +27,10 @@
+ #include <boost/asio/detail/socket_ops.hpp>
+ #include <boost/asio/error.hpp>
+
++#if defined(BOOST_ASIO_WINDOWS)
++#include <malloc.h>
++#endif
++
+ #if defined(BOOST_ASIO_WINDOWS_RUNTIME)
+ # include <codecvt>
+ # include <locale>