libdvbpsi: portability patch from Alpine.

This commit is contained in:
Juan RP 2015-05-09 11:11:11 +02:00
parent feb1904f6b
commit cae3131a28
2 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,24 @@
--- examples/dvbinfo/buffer.h
+++ 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
--- src/descriptor.h
+++ 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

View file

@ -1,7 +1,7 @@
# Template file for 'libdvbpsi'
pkgname=libdvbpsi
version=1.1.2
revision=2
revision=3
build_style=gnu-configure
short_desc="PSI decoder and generator library for MPEG2 and DVB streams"
homepage="http://www.videolan.org/developers/libdvbpsi.html"