diff --git a/store/benchmark/retwisClient.cc b/store/benchmark/retwisClient.cc
index 631a5ecb80573267a5f904b7f6f3607725f96183..8a8037a619589449df25d106f00491a5ee6d1872 100644
--- a/store/benchmark/retwisClient.cc
+++ b/store/benchmark/retwisClient.cc
@@ -11,6 +11,7 @@
 #include "store/strongstore/client.h"
 #include "store/weakstore/client.h"
 #include "store/tapirstore/client.h"
+#include <algorithm>
 
 using namespace std;