diff --git a/scheduler/OStoreDB/OStoreDB.cpp b/scheduler/OStoreDB/OStoreDB.cpp
index f691e190f3b35ba7915d0d979d171b0f1f3d7eb2..90ecf2377f687ac06cc89869474f13a36c6ded06 100644
--- a/scheduler/OStoreDB/OStoreDB.cpp
+++ b/scheduler/OStoreDB/OStoreDB.cpp
@@ -40,6 +40,7 @@
 #include "disk/DiskFile.hpp"
 #include <algorithm>
 #include <cmath>
+#include <numeric>      /* std::accumulate */
 #include <stdlib.h>     /* srand, rand */
 #include <time.h>       /* time */
 #include <stdexcept>