Merge "Cmake refactor."
diff --git a/m2ts/webm2pes.cc b/m2ts/webm2pes.cc
index a8bd007..7922f6a 100644
--- a/m2ts/webm2pes.cc
+++ b/m2ts/webm2pes.cc
@@ -7,6 +7,7 @@
 // be found in the AUTHORS file in the root of the source tree.
 #include "m2ts/webm2pes.h"
 
+#include <algorithm>
 #include <cassert>
 #include <cstdio>
 #include <cstring>