diff --git a/media-libs/libdvbpsi/patches/libdvbpsi-1.2.0.patchset b/media-libs/libdvbpsi/patches/libdvbpsi-1.2.0.patchset index 0dbfdb814..f972c3551 100644 --- a/media-libs/libdvbpsi/patches/libdvbpsi-1.2.0.patchset +++ b/media-libs/libdvbpsi/patches/libdvbpsi-1.2.0.patchset @@ -3355,3 +3355,79 @@ index 18b2ba7..f0aca2b 100644 -- 1.8.3.4 + +From 2ee9a5bf1388bf855bf15422a8dd3d732f4ed5c4 Mon Sep 17 00:00:00 2001 +From: Adrien Destugues +Date: Fri, 12 Sep 2014 12:00:43 +0200 +Subject: Fix headers for gcc2 + +* They use "bool", so stdbool.h must be included. + +diff --git a/src/descriptor.h b/src/descriptor.h +index f344a73..e8c4f7f 100644 +--- a/src/descriptor.h ++++ b/src/descriptor.h +@@ -35,6 +35,8 @@ + #ifndef _DVBPSI_DESCRIPTOR_H_ + #define _DVBPSI_DESCRIPTOR_H_ + ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif +diff --git a/src/descriptors/dr.h b/src/descriptors/dr.h +index 778b2f0..dbe4798 100644 +--- a/src/descriptors/dr.h ++++ b/src/descriptors/dr.h +@@ -31,6 +31,8 @@ + #ifndef _DVBPSI_DR_H_ + #define _DVBPSI_DR_H_ + ++#include ++ + #include "dr_02.h" + #include "dr_03.h" + #include "dr_04.h" +diff --git a/src/dvbpsi.h b/src/dvbpsi.h +index 1a5f859..d8489f1 100644 +--- a/src/dvbpsi.h ++++ b/src/dvbpsi.h +@@ -35,6 +35,8 @@ + #ifndef _DVBPSI_DVBPSI_H_ + #define _DVBPSI_DVBPSI_H_ + ++#include ++ + #define DVBPSI_VERSION 1.2.0 /*!< Human readible DVBPSI version*/ + #define DVBPSI_VERSION_INT ((1<<16)+(2<<8)+0) /*!< Machine readible DVBPSI version */ + +diff --git a/src/tables/pat.h b/src/tables/pat.h +index fe1a6ed..284a0fa 100644 +--- a/src/tables/pat.h ++++ b/src/tables/pat.h +@@ -33,6 +33,8 @@ + #ifndef _DVBPSI_PAT_H_ + #define _DVBPSI_PAT_H_ + ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif +diff --git a/src/tables/pmt.h b/src/tables/pmt.h +index f0f4fa3..c1e3117 100644 +--- a/src/tables/pmt.h ++++ b/src/tables/pmt.h +@@ -34,6 +34,8 @@ + #ifndef _DVBPSI_PMT_H_ + #define _DVBPSI_PMT_H_ + ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif +-- +1.8.3.4 +