aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-02-05 11:18:10 -0500
committerGitHub <noreply@github.com>2024-02-05 11:18:10 -0500
commit30f776f8149dcbda0b6467176488e6551d068e40 (patch)
tree33abca6579a7e1b878396c6f7f3b3d89ac283e6f
parent78a12f94904b69dd8b13f3e3fd258334b77ee7b8 (diff)
downloadllvm-30f776f8149dcbda0b6467176488e6551d068e40.zip
llvm-30f776f8149dcbda0b6467176488e6551d068e40.tar.gz
llvm-30f776f8149dcbda0b6467176488e6551d068e40.tar.bz2
[libc++] Add missing <errno.h> include in threading support headers (#80311)
This was incorrectly removed when I split up the header.
-rw-r--r--libcxx/include/__thread/support/c11.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/__thread/support/c11.h b/libcxx/include/__thread/support/c11.h
index 8962648..fe00a2d 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