diff --git a/dumux/common/staggeredfvproblem.hh b/dumux/common/staggeredfvproblem.hh
index 04c569cbca82184163549d9cb10bdad2d2af230b..68ecf0c5a623677ef7730eeb01564496b01bdf71 100644
--- a/dumux/common/staggeredfvproblem.hh
+++ b/dumux/common/staggeredfvproblem.hh
@@ -27,6 +27,8 @@
 #include <dune/common/version.hh>
 #if DUNE_VERSION_NEWER(DUNE_COMMON,2,6)
 #include <dune/common/rangeutilities.hh>
+#else
+#include <dumux/common/intrange.hh>
 #endif
 
 #include <dumux/common/properties.hh>