e68f65f
diff --git a/src/gromacs/awh/biasparams.cpp b/src/gromacs/awh/biasparams.cpp
e68f65f
index f4db497..87e0a40 100644
e68f65f
--- a/src/gromacs/awh/biasparams.cpp
e68f65f
+++ b/src/gromacs/awh/biasparams.cpp
e68f65f
@@ -47,6 +47,7 @@
e68f65f
 #include "biasparams.h"
e68f65f
 
e68f65f
 #include <cmath>
e68f65f
+#include <limits>
e68f65f
 
e68f65f
 #include <algorithm>
e68f65f
 
e68f65f
diff --git a/src/gromacs/mdrun/minimize.cpp b/src/gromacs/mdrun/minimize.cpp
e68f65f
index 8550271..d259b66 100644
e68f65f
--- a/src/gromacs/mdrun/minimize.cpp
e68f65f
+++ b/src/gromacs/mdrun/minimize.cpp
e68f65f
@@ -49,6 +49,7 @@
e68f65f
 #include <cmath>
e68f65f
 #include <cstring>
e68f65f
 #include <ctime>
e68f65f
+#include <limits>
e68f65f
 
e68f65f
 #include <algorithm>
e68f65f
 #include <vector>