v4l2: remove unnecessary linux/videodev.h include
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 3 Mar 2011 00:16:47 +0000 (00:16 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 3 Mar 2011 17:37:19 +0000 (17:37 +0000)
Causes compilation issues with newer kernel headers where the old
v4l interface has been removed.

https://bugzilla.gnome.org/show_bug.cgi?id=643716

sys/v4l2/v4l2_calls.h

index a47872d..d2e2c72 100644 (file)
@@ -30,7 +30,6 @@
 #  include <libv4l2.h>
 #else
 #  include <sys/ioctl.h>
-#  include <linux/videodev.h>
 #  include <linux/videodev2.h>
 #  define v4l2_fd_open(fd, flags) (fd)
 #  define v4l2_close    close