diff --git a/Mesh/Field.h b/Mesh/Field.h
index c7308f7a84f65b2eb37c6457d2e2e6eb513c5a35..70cae7a1c34e50e898899661cb849b5f09023fd0 100644
--- a/Mesh/Field.h
+++ b/Mesh/Field.h
@@ -15,6 +15,7 @@
 #include <string>
 #include <string.h>
 #include <sstream>
+#include <algorithm>
 
 #if defined(HAVE_POST)
 class PView;