[libcxx-commits] [libcxx] daea082 - [libc++] Add missing include of <string.h> in POSIX fallbacks for locale

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 5 06:21:26 PST 2024


Author: Louis Dionne
Date: 2024-02-05T09:21:01-05:00
New Revision: daea0820829bf5bbca9ab50fc118012a2508fab3

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

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

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 774081a8a46fdb..03ebbc40cfe0dd 100644
--- a/libcxx/include/__support/xlocale/__posix_l_fallback.h
+++ b/libcxx/include/__support/xlocale/__posix_l_fallback.h
@@ -17,6 +17,7 @@
 
 #include <__config>
 #include <ctype.h>
+#include <string.h>
 #include <time.h>
 
 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS


        


More information about the libcxx-commits mailing list