From: Jonathan Wakely Date: Thu, 19 Nov 2020 16:17:33 +0000 (+0000) Subject: libstdc++: Add missing header to some tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e6a43158d2e5b26616716c50badedd3400c6bea;p=gcc.git 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. --- 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