diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2023-02-11 12:38:04 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2023-02-11 12:38:11 +0000 |
| commit | e3b557809604d036af6e00c60f012c2025b59a5e (patch) | |
| tree | 8a11ba2269a3b669601e2fd41145b174008f4da8 /libcxx/include/coroutine | |
| parent | 08e8dd7b9db7bb4a9de26d44c1cbfd24e869c014 (diff) | |
Diffstat (limited to 'libcxx/include/coroutine')
| -rw-r--r-- | libcxx/include/coroutine | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libcxx/include/coroutine b/libcxx/include/coroutine index 6582f5554ed0..f264570128bb 100644 --- a/libcxx/include/coroutine +++ b/libcxx/include/coroutine @@ -46,15 +46,18 @@ struct suspend_always; #include <__coroutine/trivial_awaitables.h> #include <version> -#ifndef _LIBCPP_REMOVE_TRANSITIVE_INCLUDES -# include <iosfwd> -#endif - // standard-mandated includes + +// [coroutine.syn] #include <compare> #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER # pragma GCC system_header #endif +#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20 +# include <iosfwd> +# include <type_traits> +#endif + #endif // _LIBCPP_COROUTINE |
