[libcxx-commits] [libcxx] 09531e3 - [libc++] Add missing include of <wchar.h> in POSIX locale fallbacks

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 5 09:04:39 PST 2024


Author: Louis Dionne
Date: 2024-02-05T12:04:07-05:00
New Revision: 09531e34eec121e9c2319d58bb9fb7edc304027e

URL: https://github.com/llvm/llvm-project/commit/09531e34eec121e9c2319d58bb9fb7edc304027e
DIFF: https://github.com/llvm/llvm-project/commit/09531e34eec121e9c2319d58bb9fb7edc304027e.diff

LOG: [libc++] Add missing include of <wchar.h> in POSIX locale fallbacks

Added: 
    

Modified: 
    libcxx/include/__support/xlocale/__posix_l_fallback.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__support/xlocale/__posix_l_fallback.h b/libcxx/include/__support/xlocale/__posix_l_fallback.h
index 03ebbc40cfe0d..42d24db94e259 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
 


        


More information about the libcxx-commits mailing list