aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/concepts
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/concepts')
-rw-r--r--libcxx/include/concepts4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/concepts b/libcxx/include/concepts
index 301256ca7ef7..196fa2e0ea70 100644
--- a/libcxx/include/concepts
+++ b/libcxx/include/concepts
@@ -155,6 +155,10 @@ namespace std {
#include <__config>
#include <version>
+#if _LIBCPP_STD_VER <= 20 && !defined(_LIPCPP_REMOVE_TRANSITIVE_INCLUDES)
+# include <type_traits>
+#endif
+
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
#endif