v4l2: remove unnecessary linux/videodev.h include
Causes compilation issues with newer kernel headers where the old v4l interface has been removed. https://bugzilla.gnome.org/show_bug.cgi?id=643716
This commit is contained in:
parent
08232b470e
commit
0cd62a10ad
@ -30,7 +30,6 @@
|
|||||||
# include <libv4l2.h>
|
# include <libv4l2.h>
|
||||||
#else
|
#else
|
||||||
# include <sys/ioctl.h>
|
# include <sys/ioctl.h>
|
||||||
# include <linux/videodev.h>
|
|
||||||
# include <linux/videodev2.h>
|
# include <linux/videodev2.h>
|
||||||
# define v4l2_fd_open(fd, flags) (fd)
|
# define v4l2_fd_open(fd, flags) (fd)
|
||||||
# define v4l2_close close
|
# define v4l2_close close
|
||||||
|
Loading…
x
Reference in New Issue
Block a user