summaryrefslogtreecommitdiff
path: root/include/future
diff options
context:
space:
mode:
Diffstat (limited to 'include/future')
-rw-r--r--include/future2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/future b/include/future
index 62529d97c..f6896a3a0 100644
--- a/include/future
+++ b/include/future
@@ -370,7 +370,9 @@ template <class R, class Alloc> struct uses_allocator<packaged_task<R>, Alloc>;
#include <mutex>
#include <thread>
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
+#endif
_LIBCPP_BEGIN_NAMESPACE_STD