zvbi/zvbi-0.2.33-glibc-2.17.patch

35 lines
1.2 KiB
Diff

diff -Nru zvbi-0.2.33.orig/contrib/ntsc-cc.c zvbi-0.2.33/contrib/ntsc-cc.c
--- zvbi-0.2.33.orig/contrib/ntsc-cc.c 2007-11-27 18:39:34.000000000 +0100
+++ zvbi-0.2.33/contrib/ntsc-cc.c 2013-02-12 22:53:52.953635085 +0100
@@ -34,6 +34,7 @@
#include <locale.h>
#include <sys/ioctl.h>
#include <sys/types.h>
+#include <sys/stat.h>
#include <sys/time.h>
#ifdef HAVE_GETOPT_LONG
# include <getopt.h>
diff -Nru zvbi-0.2.33.orig/src/io-dvb.c zvbi-0.2.33/src/io-dvb.c
--- zvbi-0.2.33.orig/src/io-dvb.c 2008-02-24 15:18:21.000000000 +0100
+++ zvbi-0.2.33/src/io-dvb.c 2013-02-12 22:53:04.136118717 +0100
@@ -29,6 +29,8 @@
#include <errno.h>
#include <sys/select.h>
#include <sys/ioctl.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#ifndef HAVE_S64_U64
/* Linux 2.6.x asm/types.h defines __s64 and __u64 only
diff -Nru zvbi-0.2.33.orig/src/io-v4l.c zvbi-0.2.33/src/io-v4l.c
--- zvbi-0.2.33.orig/src/io-v4l.c 2008-02-24 15:17:28.000000000 +0100
+++ zvbi-0.2.33/src/io-v4l.c 2013-02-12 22:53:29.141870986 +0100
@@ -42,6 +42,7 @@
#include <assert.h>
#include <sys/time.h> /* timeval */
#include <sys/types.h> /* fd_set, uid_t */
+#include <sys/stat.h>
#include <sys/ioctl.h> /* for (_)videodev.h */
#include <pthread.h>