[libc++] newlib/xlocale.h: remove redundant includes
authorMichael Platings <michael.platings@arm.com>
Fri, 28 Oct 2022 13:19:05 +0000 (14:19 +0100)
committerMichael Platings <michael.platings@arm.com>
Mon, 31 Oct 2022 07:40:37 +0000 (07:40 +0000)
commit77793ee33a7db6e1a12eafc20cc560a86e48a1bf
tree32aab80ff76eb342808cb63fa18d02b8b296cbc0
parent500876226c606cd2d205557a842bd0a3fa9231ea
[libc++] newlib/xlocale.h: remove redundant includes

This permits using the <locale> header with newlib or picolibc when
LIBCXX_ENABLE_WIDE_CHARACTERS=FALSE.

Since D136682 the __support/xlocale headers themselves include the
headers they require, respecting the LIBCXX_ENABLE_WIDE_CHARACTERS
option.

Differential Revision: https://reviews.llvm.org/D136947
libcxx/include/__support/newlib/xlocale.h