[vlc-commits] DASH: fix compilation
Jean-Baptiste Kempf
git at videolan.org
Fri May 22 15:01:03 CEST 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri May 22 15:00:21 2015 +0200| [1923b9bfc187f2802b22b79c3c30ca8773cced46] | committer: Jean-Baptiste Kempf
DASH: fix compilation
time() needs ctime
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1923b9bfc187f2802b22b79c3c30ca8773cced46
---
modules/demux/adaptative/PlaylistManager.cpp | 2 ++
modules/demux/dash/DASHManager.cpp | 1 +
2 files changed, 3 insertions(+)
diff --git a/modules/demux/adaptative/PlaylistManager.cpp b/modules/demux/adaptative/PlaylistManager.cpp
index 5811259..59b5905 100644
--- a/modules/demux/adaptative/PlaylistManager.cpp
+++ b/modules/demux/adaptative/PlaylistManager.cpp
@@ -40,6 +40,8 @@
#include "logic/AlwaysLowestAdaptationLogic.hpp"
#include <vlc_stream.h>
+#include <ctime>
+
using namespace adaptative::http;
using namespace adaptative::logic;
using namespace adaptative;
diff --git a/modules/demux/dash/DASHManager.cpp b/modules/demux/dash/DASHManager.cpp
index 9006594..2d04db9 100644
--- a/modules/demux/dash/DASHManager.cpp
+++ b/modules/demux/dash/DASHManager.cpp
@@ -41,6 +41,7 @@
#include <vlc_stream.h>
#include <algorithm>
+#include <ctime>
using namespace dash;
using namespace dash::mpd;
More information about the vlc-commits
mailing list