[libcxx-commits] [PATCH] D144307: [libc++] Fix header includes in <__atomic/cxx_atomic_impl.h>
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 17 16:27:39 PST 2023
philnik created this revision.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D144307
Files:
libcxx/include/__atomic/cxx_atomic_impl.h
Index: libcxx/include/__atomic/cxx_atomic_impl.h
===================================================================
--- libcxx/include/__atomic/cxx_atomic_impl.h
+++ libcxx/include/__atomic/cxx_atomic_impl.h
@@ -12,10 +12,12 @@
#include <__atomic/is_always_lock_free.h>
#include <__atomic/memory_order.h>
#include <__config>
+#include <__type_traits/conditional.h>
#include <__type_traits/is_assignable.h>
#include <__type_traits/is_trivially_copyable.h>
#include <__type_traits/remove_const.h>
#include <cstddef>
+#include <cstring>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144307.498523.patch
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230218/c6afa5ea/attachment.bin>
More information about the libcxx-commits
mailing list