diff --git a/libcxx/include/__threading_support b/libcxx/include/__threading_support --- a/libcxx/include/__threading_support +++ b/libcxx/include/__threading_support @@ -14,7 +14,8 @@ #include <__chrono/convert_to_timespec.h> #include <__chrono/duration.h> #include <__config> -#include <__thread/poll_with_backoff.h> +#include <__fwd/hash.h> +#include #include #ifdef __MVS__ @@ -50,7 +51,7 @@ #define _LIBCPP_THREAD_ABI_VISIBILITY inline _LIBCPP_INLINE_VISIBILITY #endif -typedef ::timespec __libcpp_timespec_t; +typedef std::timespec __libcpp_timespec_t; #endif // !defined(_LIBCPP_HAS_NO_THREADS) _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/src/support/win32/thread_win32.cpp b/libcxx/src/support/win32/thread_win32.cpp --- a/libcxx/src/support/win32/thread_win32.cpp +++ b/libcxx/src/support/win32/thread_win32.cpp @@ -7,6 +7,8 @@ //===----------------------------------------------------------------------===// #include <__threading_support> +#include + #define NOMINMAX #define WIN32_LEAN_AND_MEAN #include