From: Jonathan Wakely Date: Thu, 14 Jul 2016 15:43:17 +0000 (+0100) Subject: Include header for std::__parallel::search X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea5ec6b7e0f8b2e3cc4bce670651aedc33211a46;p=gcc.git Include header for std::__parallel::search * include/experimental/functional: Include in Parallel Mode. From-SVN: r238342 --- 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) {