diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-07-10 03:06:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-10 03:06:05 -0400 |
| commit | b88151e0e1553607cbebc197e1111ec4bf53a595 (patch) | |
| tree | cd4f57feae521500fe4eb99a98a798241256d341 /lib/libcxx/src/atomic.cpp | |
| parent | 3f11d1d56d9747de974b00eab1c880bea7972c01 (diff) | |
| parent | f9bf4889264aee387639bb8a35fdf594236b1283 (diff) | |
| download | zig-b88151e0e1553607cbebc197e1111ec4bf53a595.tar.gz zig-b88151e0e1553607cbebc197e1111ec4bf53a595.zip | |
Merge pull request #12001 from ziglang/llvm14
Upgrade to LLVM 14
Diffstat (limited to 'lib/libcxx/src/atomic.cpp')
| -rw-r--r-- | lib/libcxx/src/atomic.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libcxx/src/atomic.cpp b/lib/libcxx/src/atomic.cpp index 9ae1fb5199..250d33e98b 100644 --- a/lib/libcxx/src/atomic.cpp +++ b/lib/libcxx/src/atomic.cpp @@ -1,4 +1,4 @@ -//===------------------------- atomic.cpp ---------------------------------===// +//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -9,9 +9,10 @@ #include <__config> #ifndef _LIBCPP_HAS_NO_THREADS -#include <climits> #include <atomic> +#include <climits> #include <functional> +#include <thread> #ifdef __linux__ |
