From 5e6a43158d2e5b26616716c50badedd3400c6bea Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 19 Nov 2020 16:17:33 +0000 Subject: [PATCH] libstdc++: Add missing header to some tests These tests use std::this_thread::sleep_for without including . libstdc++-v3/ChangeLog: * testsuite/30_threads/async/async.cc: Include . * testsuite/30_threads/future/members/93456.cc: Likewise. --- libstdc++-v3/testsuite/30_threads/async/async.cc | 1 + libstdc++-v3/testsuite/30_threads/future/members/93456.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/libstdc++-v3/testsuite/30_threads/async/async.cc b/libstdc++-v3/testsuite/30_threads/async/async.cc index 1c779bfbcad..b06c2553c95 100644 --- a/libstdc++-v3/testsuite/30_threads/async/async.cc +++ b/libstdc++-v3/testsuite/30_threads/async/async.cc @@ -22,6 +22,7 @@ #include +#include #include using namespace std; diff --git a/libstdc++-v3/testsuite/30_threads/future/members/93456.cc b/libstdc++-v3/testsuite/30_threads/future/members/93456.cc index 8d6a5148ce3..9d1cbcef001 100644 --- a/libstdc++-v3/testsuite/30_threads/future/members/93456.cc +++ b/libstdc++-v3/testsuite/30_threads/future/members/93456.cc @@ -22,6 +22,7 @@ #include +#include #include #include #include -- 2.30.2