From f61eab46dfe639f0dd0d8d35e2ff1abe51c0cfb8 Mon Sep 17 00:00:00 2001 From: Robert Kloefkorn Date: Wed, 6 Aug 2014 14:00:54 +0200 Subject: [PATCH] Make code compile with dune trunk version (ie 3.0-git). This should include support for dune 2.3. --- tests/test_parallel_linearsolver.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_parallel_linearsolver.cpp b/tests/test_parallel_linearsolver.cpp index 8fc3833d1..3ca362a4d 100644 --- a/tests/test_parallel_linearsolver.cpp +++ b/tests/test_parallel_linearsolver.cpp @@ -30,11 +30,19 @@ // MPI header #if HAVE_MPI #include +#include #include #include #include +#include +#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 3) +#include +#include +#else #include #include +#endif + #include #include #else