need algorithm for std::min

Change-Id: I70aeaae8b054fc0dc6bcf1ef74bc2cad0b085911
diff --git a/sc/source/core/data/refupdatecontext.cxx b/sc/source/core/data/refupdatecontext.cxx
index d63c745..052ab74 100644
--- a/sc/source/core/data/refupdatecontext.cxx
+++ b/sc/source/core/data/refupdatecontext.cxx
@@ -8,6 +8,7 @@
 */

#include "refupdatecontext.hxx"
#include <algorithm>

namespace sc {