From 408d82ded9cafc63fb7f5262d39a16d40c4de523 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sat, 27 Feb 2016 21:48:23 +0300 Subject: [PATCH] Fixed compilation on Windows Add a missing include for get_milliseconds_until and namespace qualification. --- src/win32/thread.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/win32/thread.cpp b/src/win32/thread.cpp index 972b7310..9b845058 100644 --- a/src/win32/thread.cpp +++ b/src/win32/thread.cpp @@ -24,6 +24,7 @@ #include #if defined BOOST_THREAD_USES_DATETIME #include +#include #endif #include #include @@ -467,7 +468,7 @@ namespace boost #if defined BOOST_THREAD_USES_DATETIME bool thread::timed_join(boost::system_time const& wait_until) { - return do_try_join_until(get_milliseconds_until(wait_until)); + return do_try_join_until(boost::detail::get_milliseconds_until(wait_until)); } #endif bool thread::do_try_join_until_noexcept(uintmax_t milli, bool& res)