[libcxx-commits] [libcxx] 3de4689 - [libc++][NFC] Add missing include <cstring> in char_traits.h

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 17 07:46:55 PST 2022


Author: Louis Dionne
Date: 2022-11-17T10:46:45-05:00
New Revision: 3de46890489751c1308ebcf0fe509ad6e18af704

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

LOG: [libc++][NFC] Add missing include <cstring> in char_traits.h

Added: 
    

Modified: 
    libcxx/include/__string/char_traits.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__string/char_traits.h b/libcxx/include/__string/char_traits.h
index 6fbd0e1ab3695..3d9eb1fc05d13 100644
--- a/libcxx/include/__string/char_traits.h
+++ b/libcxx/include/__string/char_traits.h
@@ -22,6 +22,7 @@
 #include <cstddef>
 #include <cstdint>
 #include <cstdio>
+#include <cstring>
 #include <iosfwd>
 
 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS


        


More information about the libcxx-commits mailing list