aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdvbpsi/fix-includes.patch
blob: 9fbdc8455aa9b68f09120b0dac16a2e534cd2d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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