aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/src/atomic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcxx/src/atomic.cpp')
-rw-r--r--lib/libcxx/src/atomic.cpp5
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__