[vlc-commits] demux: adaptive: fix builds with format macros

Francois Cartegnie git at videolan.org
Fri Mar 11 10:00:44 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Mar 11 03:54:20 2016 -0500| [797eb9b8be594a7919ab2c6f7180606ca1ab32bd] | committer: Francois Cartegnie

demux: adaptive: fix builds with format macros

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=797eb9b8be594a7919ab2c6f7180606ca1ab32bd
---

 modules/demux/dash/DASHManager.cpp            |    3 ++-
 modules/demux/dash/mpd/MPD.cpp                |    3 +++
 modules/demux/hls/playlist/Representation.cpp |    3 ++-
 modules/demux/smooth/SmoothManager.cpp        |    3 +++
 4 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/modules/demux/dash/DASHManager.cpp b/modules/demux/dash/DASHManager.cpp
index a18bf02..5e2198a 100644
--- a/modules/demux/dash/DASHManager.cpp
+++ b/modules/demux/dash/DASHManager.cpp
@@ -26,7 +26,8 @@
 # include "config.h"
 #endif
 
-#include <inttypes.h>
+#include <vlc_fixups.h>
+#include <cinttypes>
 
 #include "DASHManager.h"
 #include "mpd/ProgramInformation.h"
diff --git a/modules/demux/dash/mpd/MPD.cpp b/modules/demux/dash/mpd/MPD.cpp
index 16a3381..976b82e 100644
--- a/modules/demux/dash/mpd/MPD.cpp
+++ b/modules/demux/dash/mpd/MPD.cpp
@@ -25,6 +25,9 @@
 # include "config.h"
 #endif
 
+#include <vlc_fixups.h>
+#include <cinttypes>
+
 #include "MPD.h"
 #include "ProgramInformation.h"
 #include "Period.h"
diff --git a/modules/demux/hls/playlist/Representation.cpp b/modules/demux/hls/playlist/Representation.cpp
index 1141ec2..f1d64db 100644
--- a/modules/demux/hls/playlist/Representation.cpp
+++ b/modules/demux/hls/playlist/Representation.cpp
@@ -21,7 +21,8 @@
 # include "config.h"
 #endif
 
-#include <cstdlib>
+#include <vlc_fixups.h>
+#include <cinttypes>
 
 #include "Representation.hpp"
 #include "M3U8.hpp"
diff --git a/modules/demux/smooth/SmoothManager.cpp b/modules/demux/smooth/SmoothManager.cpp
index 5cd5cff..c5a13d6 100644
--- a/modules/demux/smooth/SmoothManager.cpp
+++ b/modules/demux/smooth/SmoothManager.cpp
@@ -21,6 +21,9 @@
 # include "config.h"
 #endif
 
+#include <vlc_fixups.h>
+#include <cinttypes>
+
 #include "SmoothManager.hpp"
 
 #include "../adaptive/tools/Retrieve.hpp"



More information about the vlc-commits mailing list