zvbi/fix-headers.patch

37 lines
1019 B
Diff

Index: src/io-dvb.c
===================================================================
--- src/io-dvb.c.orig
+++ src/io-dvb.c
@@ -29,6 +29,7 @@
#include <errno.h>
#include <sys/select.h>
#include <sys/ioctl.h>
+#include <sys/stat.h>
#ifndef HAVE_S64_U64
/* Linux 2.6.x asm/types.h defines __s64 and __u64 only
Index: src/io-v4l.c
===================================================================
--- src/io-v4l.c.orig
+++ src/io-v4l.c
@@ -43,6 +43,7 @@ static const char rcsid [] =
#include <sys/time.h> /* timeval */
#include <sys/types.h> /* fd_set, uid_t */
#include <sys/ioctl.h> /* for (_)videodev.h */
+#include <sys/stat.h>
#include <pthread.h>
#include "videodev.h"
Index: contrib/ntsc-cc.c
===================================================================
--- contrib/ntsc-cc.c.orig
+++ contrib/ntsc-cc.c
@@ -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>