diff options
Diffstat (limited to 'recipes-extended/uvccapture/files/uvccapture_use_videodev2.patch')
-rw-r--r-- | recipes-extended/uvccapture/files/uvccapture_use_videodev2.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-extended/uvccapture/files/uvccapture_use_videodev2.patch b/recipes-extended/uvccapture/files/uvccapture_use_videodev2.patch new file mode 100644 index 0000000..b6e4617 --- /dev/null +++ b/recipes-extended/uvccapture/files/uvccapture_use_videodev2.patch @@ -0,0 +1,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" + |