[vlc-devel] [PATCH] hls: fix inttypes include

Thomas Guillem thomas at gllm.fr
Fri Jun 12 12:29:51 CEST 2015


---
 modules/demux/hls/HLSManager.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/modules/demux/hls/HLSManager.cpp b/modules/demux/hls/HLSManager.cpp
index c5a0863..8ae29b1 100644
--- a/modules/demux/hls/HLSManager.cpp
+++ b/modules/demux/hls/HLSManager.cpp
@@ -18,6 +18,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#define __STDC_FORMAT_MACROS 1
+#define __STDC_CONSTANT_MACROS 1
+#define __STDC_LIMIT_MACROS 1
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "HLSManager.hpp"
 #include "../adaptative/logic/RateBasedAdaptationLogic.h"
 #include "../adaptative/tools/Retrieve.hpp"
-- 
2.1.4




More information about the vlc-devel mailing list