diff --git a/istl/indicessyncer.hh b/istl/indicessyncer.hh
index cf054635585eb20b40c4fb4628df8b988e67d42d..10af0105c11d875fc376a1a96ea4b8b931ec0fa7 100644
--- a/istl/indicessyncer.hh
+++ b/istl/indicessyncer.hh
@@ -12,6 +12,7 @@
 #include <dune/common/sllist.hh>
 #include <cassert>
 #include <cmath>
+#include <limits>
 
 namespace Dune
 {