aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/coroutine
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2022-07-03 14:10:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2022-07-03 14:10:23 +0000
commit145449b1e420787bb99721a429341fa6be3adfb6 (patch)
tree1d56ae694a6de602e348dd80165cf881a36600ed /libcxx/include/coroutine
parentecbca9f5fb7d7613d2b94982c4825eb0d33d6842 (diff)
Diffstat (limited to 'libcxx/include/coroutine')
-rw-r--r--libcxx/include/coroutine10
1 files changed, 9 insertions, 1 deletions
diff --git a/libcxx/include/coroutine b/libcxx/include/coroutine
index 6e83fe285bc7..6582f5554ed0 100644
--- a/libcxx/include/coroutine
+++ b/libcxx/include/coroutine
@@ -38,6 +38,7 @@ struct suspend_always;
*/
+#include <__assert> // all public C++ headers provide the assertion handler
#include <__config>
#include <__coroutine/coroutine_handle.h>
#include <__coroutine/coroutine_traits.h>
@@ -45,8 +46,15 @@ struct suspend_always;
#include <__coroutine/trivial_awaitables.h>
#include <version>
+#ifndef _LIBCPP_REMOVE_TRANSITIVE_INCLUDES
+# include <iosfwd>
+#endif
+
+// standard-mandated includes
+#include <compare>
+
#ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
-#pragma GCC system_header
+# pragma GCC system_header
#endif
#endif // _LIBCPP_COROUTINE