diff --git a/GaudiPartProp/include/Gaudi/Decays/Nodes.h b/GaudiPartProp/include/Gaudi/Decays/Nodes.h
index 713c094b764599e5d11a898e69c7efa4d71cf6a5..b9a3eaa992ba3097c2189caf71fb716c1b777925 100644
--- a/GaudiPartProp/include/Gaudi/Decays/Nodes.h
+++ b/GaudiPartProp/include/Gaudi/Decays/Nodes.h
@@ -16,6 +16,7 @@
 #include <GaudiKernel/Kernel.h>
 #include <GaudiKernel/SmartIF.h>
 #include <GaudiKernel/StatusCode.h>
+#include <algorithm>
 
 /** @file Decays/Nodes.h
  *  Helper general purpose utilities to deal with decay nodes
diff --git a/GaudiPartProp/include/Gaudi/Decays/NodesPIDs.h b/GaudiPartProp/include/Gaudi/Decays/NodesPIDs.h
index dd99a2a6763bd5df723fbaf59e2aa3f658b9ecdb..eea61f52a7b44ac59747fd3b7504fe2b481a7664 100644
--- a/GaudiPartProp/include/Gaudi/Decays/NodesPIDs.h
+++ b/GaudiPartProp/include/Gaudi/Decays/NodesPIDs.h
@@ -15,6 +15,7 @@
 #include <Gaudi/ParticleProperty.h>
 #include <Gaudi/cxx/SynchronizedValue.h>
 #include <GaudiKernel/MsgStream.h>
+#include <algorithm>
 
 /** @file  Kernel/NodePIDs.h
  *  The actual implementation of various decay nodes