summaryrefslogtreecommitdiff
path: root/recipes-extended/uvccapture/files/uvccapture_use_videodev2.patch
blob: b6e46174b27633035732616bdb506032859f2d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/uvccapture.c	2008-08-03 22:02:38 +0000
+++ b/uvccapture.c	2011-06-09 16:31:30 +0000
@@ -31,7 +31,7 @@
 #include <unistd.h>
 #include <jpeglib.h>
 #include <time.h>
-#include <linux/videodev.h>
+#include <linux/videodev2.h>
 
 #include "v4l2uvc.h"
 

--- a/v4l2uvc.c	2008-03-28 19:13:23 +0000
+++ b/v4l2uvc.c	2011-06-09 16:31:30 +0000
@@ -28,7 +28,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <linux/videodev.h>
+#include <linux/videodev2.h>
 #include <sys/mman.h>
 #include <sys/ioctl.h>
 #include "v4l2uvc.h"