diff --git a/Examples/RCM/bandwidth.h b/Examples/RCM/bandwidth.h
index 52a1a7d2e0a01a7e0ee88447bbfc8b8bcf95ae9c..c3e0265881e3a078b7c2fa75ed4cbac068398c2e 100644
--- a/Examples/RCM/bandwidth.h
+++ b/Examples/RCM/bandwidth.h
@@ -23,6 +23,7 @@
 
 #include <vector>
 #include <unordered_set>
+#include <algorithm>
 
 ///
 /// \brief Build the vertex-to-vertex connectivity of a map