diff --git a/libcxx/include/format b/libcxx/include/format index 07c2ba083199e9..526174762797fd 100644 --- a/libcxx/include/format +++ b/libcxx/include/format @@ -224,7 +224,9 @@ namespace std { #endif #if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20 +# if !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include +# endif # include # include #endif