[libcxx-commits] [libcxx] 30f776f - [libc++] Add missing <errno.h> include in threading support headers (#80311)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 5 08:18:14 PST 2024


Author: Louis Dionne
Date: 2024-02-05T11:18:10-05:00
New Revision: 30f776f8149dcbda0b6467176488e6551d068e40

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

LOG: [libc++] Add missing <errno.h> include in threading support headers (#80311)

This was incorrectly removed when I split up the header.

Added: 
    

Modified: 
    libcxx/include/__thread/support/c11.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__thread/support/c11.h b/libcxx/include/__thread/support/c11.h
index 896264891cc45..fe00a2d97fadc 100644
--- a/libcxx/include/__thread/support/c11.h
+++ b/libcxx/include/__thread/support/c11.h
@@ -14,6 +14,7 @@
 #include <__chrono/duration.h>
 #include <__config>
 #include <ctime>
+#include <errno.h>
 #include <threads.h>
 
 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER


        


More information about the libcxx-commits mailing list