[vlc-commits] dvbpsi: add sys/types.h as appropriate
Sean McGovern
git at videolan.org
Fri Jul 11 14:26:56 CEST 2014
vlc | branch: master | Sean McGovern <gseanmcg at gmail.com> | Thu Jul 10 20:22:11 2014 -0400| [a73fd7be4c40d89ee825f2ee99a28d216e0993f3] | committer: Rafaël Carré
dvbpsi: add sys/types.h as appropriate
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a73fd7be4c40d89ee825f2ee99a28d216e0993f3
---
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