[vlc-devel] [PATCH] stream_extractor/archive: fix building with old libraries
Steve Lhomme
robux4 at videolabs.io
Fri Mar 3 13:19:55 CET 2017
Since we require only 3.1.0 instead of 3.2.2 in the contribs
--
replaces https://patches.videolan.org/patch/15795/
* use the better notation
---
modules/stream_extractor/archive.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/stream_extractor/archive.c b/modules/stream_extractor/archive.c
index efdd4e4314..3b5d015b3d 100644
--- a/modules/stream_extractor/archive.c
+++ b/modules/stream_extractor/archive.c
@@ -36,6 +36,11 @@
#include <archive.h>
#include <archive_entry.h>
+#ifndef __LA_INT64_T_DEFINED
+typedef __LA_INT64_T la_int64_t;
+typedef __LA_SSIZE_T la_ssize_t;
+#endif
+
static int ExtractorOpen( vlc_object_t* );
static void ExtractorClose( vlc_object_t* );
--
2.11.1
More information about the vlc-devel
mailing list