diff --git a/Gui/DataView/MshLayerMapper.cpp b/Gui/DataView/MshLayerMapper.cpp
index ef9b7edfc93bf9346f55c1d5a35e6f44ece59651..09faadf5fae27e814092aced426ad9fc5cfba13f 100644
--- a/Gui/DataView/MshLayerMapper.cpp
+++ b/Gui/DataView/MshLayerMapper.cpp
@@ -12,6 +12,9 @@
  *
  */
 
+// stl
+#include <algorithm>
+
 // ThirdParty/logog
 #include "logog/include/logog.hpp"