diff --git a/dumux/linear/amgproperties.hh b/dumux/linear/amgproperties.hh
index a0526b4aefa863610e6c4b0f2f4a2cddfd652d6d..5a0f2d5c42ea0dda6a92ed1ef1e822570dd39dfc 100644
--- a/dumux/linear/amgproperties.hh
+++ b/dumux/linear/amgproperties.hh
@@ -33,6 +33,7 @@
 #include <dune/istl/paamg/pinfo.hh>
 #include <dune/istl/preconditioners.hh>
 #include <dune/grid/common/capabilities.hh>
+#include <dune/common/version.hh>
 
 #include <dumux/implicit/box/boxproperties.hh>
 #include <dumux/implicit/cellcentered/ccproperties.hh>