adaptive: include <algorithm> for std::min
authorSteve Lhomme <robux4@videolabs.io>
Mon, 11 Jul 2016 08:44:58 +0000 (10:44 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Mon, 11 Jul 2016 09:32:57 +0000 (11:32 +0200)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
modules/demux/adaptive/PlaylistManager.cpp
modules/demux/adaptive/playlist/AbstractPlaylist.cpp

index ef8375e..1b78e56 100644 (file)
@@ -38,6 +38,7 @@
 #include <vlc_demux.h>
 #include <vlc_threads.h>
 
+#include <algorithm>
 #include <ctime>
 
 using namespace adaptive::http;
index c3bbf1d..fb2b7da 100644 (file)
@@ -29,6 +29,8 @@
 #include <vlc_common.h>
 #include <vlc_stream.h>
 
+#include <algorithm>
+
 using namespace adaptive::playlist;
 
 AbstractPlaylist::AbstractPlaylist (vlc_object_t *p_object_) :