diff --git a/opm/simulators/linalg/ExtractParallelGridInformationToISTL.cpp b/opm/simulators/linalg/ExtractParallelGridInformationToISTL.cpp index 80f1f7aa4..4a811a622 100644 --- a/opm/simulators/linalg/ExtractParallelGridInformationToISTL.cpp +++ b/opm/simulators/linalg/ExtractParallelGridInformationToISTL.cpp @@ -22,6 +22,8 @@ #include #include #include +#include + namespace Opm { #if defined(HAVE_OPM_GRID) diff --git a/opm/simulators/linalg/ExtractParallelGridInformationToISTL.hpp b/opm/simulators/linalg/ExtractParallelGridInformationToISTL.hpp index e32cb694f..5b658206c 100644 --- a/opm/simulators/linalg/ExtractParallelGridInformationToISTL.hpp +++ b/opm/simulators/linalg/ExtractParallelGridInformationToISTL.hpp @@ -21,9 +21,10 @@ #define OPM_EXTRACTPARALLELGRIDINFORMATIONTOISTL_HEADER_INCLUDED #ifdef HAVE_OPM_GRID -#include #include +namespace Dune { class CpGrid; } + namespace Opm {