summarylogtreecommitdiffstats
path: root/tvtime-1.0.2-linuxheaders.patch
blob: b85484de5a5883831de5a4b0c1b5246c546e771b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"