aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdvbpsi/fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-17 11:34:33 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-17 11:34:33 +0000
commit7f1b8389aa0564a7b44661485f9841d34caad980 (patch)
tree7dbabfa40bbc746672dacda3f072ebf3dcae99df /main/libdvbpsi/fix-includes.patch
parent073955c10e00e2eaabf70c3215686ef9e9b457c5 (diff)
downloadaports-7f1b8389aa0564a7b44661485f9841d34caad980.tar.bz2
aports-7f1b8389aa0564a7b44661485f9841d34caad980.tar.xz
main/libdvbpsi: fix musl build
Diffstat (limited to 'main/libdvbpsi/fix-includes.patch')
-rw-r--r--main/libdvbpsi/fix-includes.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/libdvbpsi/fix-includes.patch b/main/libdvbpsi/fix-includes.patch
new file mode 100644
index 0000000000..9fbdc8455a
--- /dev/null
+++ b/main/libdvbpsi/fix-includes.patch
@@ -0,0 +1,24 @@
+--- libdvbpsi-1.1.1.orig/examples/dvbinfo/buffer.h
++++ libdvbpsi-1.1.1/examples/dvbinfo/buffer.h
+@@ -23,6 +23,9 @@
+ #ifndef DVBINFO_BUFFER_H_
+ #define DVBINFO_BUFFER_H_
+
++#include <sys/types.h>
++#include <stdint.h>
++
+ typedef struct buffer_s buffer_t;
+
+ struct buffer_s
+--- libdvbpsi-1.1.1.orig/src/descriptor.h
++++ libdvbpsi-1.1.1/src/descriptor.h
+@@ -35,6 +35,9 @@
+ #ifndef _DVBPSI_DESCRIPTOR_H_
+ #define _DVBPSI_DESCRIPTOR_H_
+
++#include <sys/types.h>
++#include <stdint.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif