summaryrefslogtreecommitdiff
path: root/boost/graph/depth_first_search.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/graph/depth_first_search.hpp')
-rw-r--r--boost/graph/depth_first_search.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/boost/graph/depth_first_search.hpp b/boost/graph/depth_first_search.hpp
index cf60e1ac84..0a29de1da5 100644
--- a/boost/graph/depth_first_search.hpp
+++ b/boost/graph/depth_first_search.hpp
@@ -19,6 +19,7 @@
#include <boost/graph/properties.hpp>
#include <boost/graph/visitors.hpp>
#include <boost/graph/named_function_params.hpp>
+#include <boost/graph/detail/mpi_include.hpp>
#include <boost/ref.hpp>
#include <boost/implicit_cast.hpp>
#include <boost/optional.hpp>
@@ -102,7 +103,7 @@ namespace boost {
// The corresponding context shift back from the adjacent vertex occurs
// after all of its out-edges have been examined.
//
- // See http://lists.boost.org/MailArchives/boost/msg48752.php for FAQ.
+ // See https://lists.boost.org/Archives/boost/2003/06/49265.php for FAQ.
template <class IncidenceGraph, class DFSVisitor, class ColorMap,
class TerminatorFunc>
@@ -366,8 +367,6 @@ namespace boost {
}
} // namespace boost
-#ifdef BOOST_GRAPH_USE_MPI
-# include <boost/graph/distributed/depth_first_search.hpp>
-#endif
+#include BOOST_GRAPH_MPI_INCLUDE(<boost/graph/distributed/depth_first_search.hpp>)
#endif