Snap for 8422005 from 9439cc3d746487ee1c8022ff11a7339056001c7f to tm-release

Change-Id: I3def56ffaa71cbbe56d524c31a5a7446acb94b99
diff --git a/suffix_array_index.cc b/suffix_array_index.cc
index b02655c..710249c 100644
--- a/suffix_array_index.cc
+++ b/suffix_array_index.cc
@@ -4,6 +4,7 @@
 
 #include "bsdiff/suffix_array_index.h"
 
+#include <algorithm>
 #include <limits>
 #include <vector>