diff --git a/include/ALL.hpp b/include/ALL.hpp
index 32aca6f8dc5ceb7394b2864f2b6278ea669e0a6b..d4a3a2e2afb51ca0b5795609878f124ebd9dd0b4 100644
--- a/include/ALL.hpp
+++ b/include/ALL.hpp
@@ -53,6 +53,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <cerrno>
 
 #ifdef ALL_VTK_OUTPUT
+#include <limits>
 #include <vtkCellArray.h>
 #include <vtkCellData.h>
 #include <vtkFloatArray.h>