aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-02-05 12:04:07 -0500
committerLouis Dionne <ldionne.2@gmail.com>2024-02-05 12:04:07 -0500
commit09531e34eec121e9c2319d58bb9fb7edc304027e (patch)
treeb82d50b0c3a542fbc4f556bf533a76705bbc339b
parente2bb91b25c8740625fecd127c1d908a2fabd0102 (diff)
downloadllvm-09531e34eec121e9c2319d58bb9fb7edc304027e.zip
llvm-09531e34eec121e9c2319d58bb9fb7edc304027e.tar.gz
llvm-09531e34eec121e9c2319d58bb9fb7edc304027e.tar.bz2
[libc++] Add missing include of <wchar.h> in POSIX locale fallbacks
-rw-r--r--libcxx/include/__support/xlocale/__posix_l_fallback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/__support/xlocale/__posix_l_fallback.h b/libcxx/include/__support/xlocale/__posix_l_fallback.h
index 03ebbc4..42d24db 100644
--- a/libcxx/include/__support/xlocale/__posix_l_fallback.h
+++ b/libcxx/include/__support/xlocale/__posix_l_fallback.h
@@ -21,6 +21,7 @@
#include <time.h>
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
+# include <wchar.h>
# include <wctype.h>
#endif