summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Lima Bernal <lb-guilherme@live.com>2014-06-24 21:05:40 (GMT)
committerGuilherme Lima Bernal <lb-guilherme@live.com>2014-06-24 21:05:40 (GMT)
commitb00e2eee5565f5b237f777cc9dae1fbb316fdb02 (patch)
tree5cbb534e2a9b60fb482806c3caea3ce2cbe1bfbb
parent008643785f6385e934b777a54be1e0a001f225dd (diff)
downloadmxe-b00e2eee5565f5b237f777cc9dae1fbb316fdb02.zip
mxe-b00e2eee5565f5b237f777cc9dae1fbb316fdb02.tar.gz
mxe-b00e2eee5565f5b237f777cc9dae1fbb316fdb02.tar.bz2
libdvbpsi: patch-1: include c header after extern "C"
-rw-r--r--src/libdvbpsi-1.patch11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/libdvbpsi-1.patch b/src/libdvbpsi-1.patch
index 639d638..80159f8 100644
--- a/src/libdvbpsi-1.patch
+++ b/src/libdvbpsi-1.patch
@@ -4,14 +4,14 @@ See index.html for further information.
diff --git a/src/descriptor.h b/src/descriptor.h
--- a/src/descriptor.h
+++ b/src/descriptor.h
-@@ -37,6 +37,7 @@
- #ifndef _DVBPSI_DESCRIPTOR_H_
- #define _DVBPSI_DESCRIPTOR_H_
-
-+#include <sys/types.h>
+@@ -41,6 +41,7 @@
#ifdef __cplusplus
extern "C" {
#endif
++#include <sys/types.h>
+
+ /*****************************************************************************
+ * common definitions
diff --git a/configure b/configure
--- a/configure
@@ -67,4 +67,3 @@ diff --git a/src/dvbpsi.c b/src/dvbpsi.c
va_end(ap); \
if (err > 0) { \
if (dvbpsi->pf_message) \
-