VLC: some old fixes I never commited.

This commit is contained in:
Adrien Destugues
2015-08-07 18:38:08 +02:00
parent 80e7a9cd20
commit 27fc57afde
2 changed files with 215 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
From d4408b75db31f42e1423b6e706b91822fcb7c6a6 Mon Sep 17 00:00:00 2001
From 3ca8ed8a00628fcdc914870cc143a248e29b3f62 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 9 Sep 2014 16:24:20 +0000
Subject: Haiku patch
@@ -44,7 +44,7 @@ index b878676..0a2e76c 100644
1.8.3.4
From b58bc8958575425c65d185c49d5c844659250c75 Mon Sep 17 00:00:00 2001
From 3ea35df0e4f0930789693c45f3914bebcbc75c5c Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Fri, 12 Sep 2014 11:04:58 +0200
Subject: gcc2 fixes.
@@ -3356,7 +3356,7 @@ index 18b2ba7..f0aca2b 100644
1.8.3.4
From 2ee9a5bf1388bf855bf15422a8dd3d732f4ed5c4 Mon Sep 17 00:00:00 2001
From 5daa17f1ef38dd182c3a2bf740ba0d0c0c9c5f2a Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Fri, 12 Sep 2014 12:00:43 +0200
Subject: Fix headers for gcc2
@@ -3431,3 +3431,37 @@ index f0f4fa3..c1e3117 100644
--
1.8.3.4
From dc3ff2271738d7bacd2388a0588f120f77a103f2 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Fri, 19 Sep 2014 11:30:08 +0200
Subject: Add missing includes for size_t.
diff --git a/src/descriptor.h b/src/descriptor.h
index e8c4f7f..a45d907 100644
--- a/src/descriptor.h
+++ b/src/descriptor.h
@@ -36,6 +36,7 @@
#define _DVBPSI_DESCRIPTOR_H_
#include <stdbool.h>
+#include <stddef.h>
#ifdef __cplusplus
extern "C" {
diff --git a/src/dvbpsi.h b/src/dvbpsi.h
index d8489f1..8f24c8b 100644
--- a/src/dvbpsi.h
+++ b/src/dvbpsi.h
@@ -36,6 +36,7 @@
#define _DVBPSI_DVBPSI_H_
#include <stdbool.h>
+#include <stddef.h>
#define DVBPSI_VERSION 1.2.0 /*!< Human readible DVBPSI version*/
#define DVBPSI_VERSION_INT ((1<<16)+(2<<8)+0) /*!< Machine readible DVBPSI version */
--
1.8.3.4