aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/exception
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/exception')
-rw-r--r--libcxx/include/exception5
1 files changed, 4 insertions, 1 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception
index 74229cd..0b2372e 100644
--- a/libcxx/include/exception
+++ b/libcxx/include/exception
@@ -93,10 +93,13 @@ template <class E> void rethrow_if_nested(const E& e);
# if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
# include <cstddef>
-# include <cstdlib>
# include <new>
# include <type_traits>
# endif
+
+# if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 23
+# include <cstdlib>
+# endif
#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
#endif // _LIBCPP_EXCEPTION