mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
libdvbpsi: fix headers for gcc2.
This commit is contained in:
@@ -3355,3 +3355,79 @@ index 18b2ba7..f0aca2b 100644
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 2ee9a5bf1388bf855bf15422a8dd3d732f4ed5c4 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
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 <stdbool.h>
|
||||
+
|
||||
#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 <stdbool.h>
|
||||
+
|
||||
#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 <stdbool.h>
|
||||
+
|
||||
#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 <stdbool.h>
|
||||
+
|
||||
#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 <stdbool.h>
|
||||
+
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user