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

Sean McGovern gseanmcg at gmail.com
Fri Jul 11 02:22:11 CEST 2014


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

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
-- 
1.7.9.2




More information about the vlc-devel mailing list