[vlc-commits] dvbpsi: add sys/types.h as appropriate

Sean McGovern git at videolan.org
Sat Jul 12 20:36:39 CEST 2014


vlc/vlc-2.2 | branch: master | Sean McGovern <gseanmcg at gmail.com> | Thu Jul 10 20:22:11 2014 -0400| [4fc35e534be953d84ea6ee2963357da027f84964] | committer: Felix Paul Kühne

dvbpsi: add sys/types.h as appropriate

Signed-off-by: Rafaël Carré <funman at videolan.org>
(cherry picked from commit a73fd7be4c40d89ee825f2ee99a28d216e0993f3)
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=4fc35e534be953d84ea6ee2963357da027f84964
---

 contrib/src/dvbpsi/dvbpsi-sys-types.patch |   13 +++++++++++++
 contrib/src/dvbpsi/rules.mak              |    1 +
 2 files changed, 14 insertions(+)

diff --git a/contrib/src/dvbpsi/dvbpsi-sys-types.patch b/contrib/src/dvbpsi/dvbpsi-sys-types.patch
new file mode 100644
index 0000000..61225da
--- /dev/null
+++ b/contrib/src/dvbpsi/dvbpsi-sys-types.patch
@@ -0,0 +1,13 @@
+--- libdvbpsi/src/descriptor.h.ORIG	Wed Mar 20 11:31:51 2013
++++ libdvbpsi/src/descriptor.h	Thu Jul 10 20:16:22 2014
+@@ -39,6 +39,10 @@
+ extern "C" {
+ #endif
+ 
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++
+ /*****************************************************************************
+  * common definitions
+  *****************************************************************************/
diff --git a/contrib/src/dvbpsi/rules.mak b/contrib/src/dvbpsi/rules.mak
index 454fdbe..556706e 100644
--- a/contrib/src/dvbpsi/rules.mak
+++ b/contrib/src/dvbpsi/rules.mak
@@ -17,6 +17,7 @@ libdvbpsi: libdvbpsi-$(DVBPSI_VERSION).tar.bz2 .sum-dvbpsi
 	$(UNPACK)
 	$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub .auto
 	$(APPLY) $(SRC)/dvbpsi/dvbpsi-noexamples.patch
+	$(APPLY) $(SRC)/dvbpsi/dvbpsi-sys-types.patch
 	$(MOVE)
 
 .dvbpsi: libdvbpsi



More information about the vlc-commits mailing list