summarylogtreecommitdiffstats
path: root/tvtime-1.0.2-linuxheaders.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tvtime-1.0.2-linuxheaders.patch')
-rw-r--r--tvtime-1.0.2-linuxheaders.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/tvtime-1.0.2-linuxheaders.patch b/tvtime-1.0.2-linuxheaders.patch
new file mode 100644
index 000000000000..b85484de5a58
--- /dev/null
+++ b/tvtime-1.0.2-linuxheaders.patch
@@ -0,0 +1,23 @@
+Index: tvtime-1.0.2/src/videoinput.c
+===================================================================
+--- tvtime-1.0.2.orig/src/videoinput.c
++++ tvtime-1.0.2/src/videoinput.c
+@@ -35,8 +35,17 @@
+ #ifdef HAVE_CONFIG_H
+ # include "config.h"
+ #endif
+-#include "videodev.h"
+-#include "videodev2.h"
++#include <libv4l1-videodev.h>
++#include <linux/videodev2.h>
++#include <libv4l1.h>
++
++#ifndef VIDEO_MAX_FRAME
++#define VIDEO_MAX_FRAME 32
++#endif
++
++#ifndef BASE_VIDIOCPRIVATE
++#define BASE_VIDIOCPRIVATE 192
++#endif
+ #include "videoinput.h"
+ #include "mixer.h" \ No newline at end of file