[libcxx-commits] [PATCH] D138528: [libc++][NFC] Remove unused include in __threading_support
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 5 11:23:24 PDT 2023
ldionne updated this revision to Diff 555906.
ldionne added a comment.
Fix missing include and C++03 issue.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138528/new/
https://reviews.llvm.org/D138528
Files:
libcxx/include/__threading_support
libcxx/include/semaphore
libcxx/src/support/win32/thread_win32.cpp
Index: libcxx/src/support/win32/thread_win32.cpp
===================================================================
--- libcxx/src/support/win32/thread_win32.cpp
+++ libcxx/src/support/win32/thread_win32.cpp
@@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
#include <__threading_support>
+#include <chrono>
+
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
Index: libcxx/include/semaphore
===================================================================
--- libcxx/include/semaphore
+++ libcxx/include/semaphore
@@ -52,6 +52,7 @@
#include <__availability>
#include <__chrono/time_point.h>
#include <__config>
+#include <__thread/poll_with_backoff.h>
#include <__thread/timed_backoff_policy.h>
#include <__threading_support>
#include <cstddef>
Index: libcxx/include/__threading_support
===================================================================
--- libcxx/include/__threading_support
+++ 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 <ctime>
#include <errno.h>
#ifdef __MVS__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138528.555906.patch
Type: text/x-patch
Size: 1250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230905/76cece0c/attachment.bin>
More information about the libcxx-commits
mailing list