From ea5ec6b7e0f8b2e3cc4bce670651aedc33211a46 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 14 Jul 2016 16:43:17 +0100 Subject: [PATCH] Include header for std::__parallel::search * include/experimental/functional: Include in Parallel Mode. From-SVN: r238342 --- libstdc++-v3/ChangeLog | 3 +++ libstdc++-v3/include/experimental/functional | 3 +++ 2 files changed, 6 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a47781c61f1..68086139cbd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-07-14 Jonathan Wakely + * include/experimental/functional: Include in + Parallel Mode. + * testsuite/experimental/functional/searchers.cc: Include for std::search. diff --git a/libstdc++-v3/include/experimental/functional b/libstdc++-v3/include/experimental/functional index 20953109385..ed41f5a3982 100644 --- a/libstdc++-v3/include/experimental/functional +++ b/libstdc++-v3/include/experimental/functional @@ -42,6 +42,9 @@ #include #include #include +#ifdef _GLIBCXX_PARALLEL +# include // For std::__parallel::search +#endif namespace std _GLIBCXX_VISIBILITY(default) { -- 2.30.2