From 4e3590d06cf8a06fcc460ccda6150483a0311bae Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sun, 14 Feb 2021 20:38:32 +0000 Subject: [PATCH] libstdc++: Restore in testsuite_fs.h header [PR 99096] libstdc++-v3/ChangeLog: PR libstdc++/99096 * testsuite/util/testsuite_fs.h: Always include . --- libstdc++-v3/testsuite/util/testsuite_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/util/testsuite_fs.h b/libstdc++-v3/testsuite/util/testsuite_fs.h index e4d04dd7799..1eadf7fa767 100644 --- a/libstdc++-v3/testsuite/util/testsuite_fs.h +++ b/libstdc++-v3/testsuite/util/testsuite_fs.h @@ -34,10 +34,10 @@ namespace test_fs = std::experimental::filesystem; #include #include #include +#include // unlink, close, getpid #if defined(_GNU_SOURCE) || _XOPEN_SOURCE >= 500 || _POSIX_C_SOURCE >= 200112L #include // mkstemp -#include // unlink, close #else #include // std::random_device #endif -- 2.30.2