What does this patch do? libv4l1.h includes libv4l1-videodev.h which is a copy of linux/videodev.h. You should only need the one or the other. Are you saying there is a system where libv4l1.h is present but incomplete, and you need to include linux/videodev.h together with it?
Thank you Damjan On Tue, Jan 15, 2013 at 6:47 AM, Dmitry Timoshkov <dmi...@baikal.ru> wrote: > --- > dlls/qcap/v4l.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c > index f5baaeb..2562c48 100644 > --- a/dlls/qcap/v4l.c > +++ b/dlls/qcap/v4l.c > @@ -47,7 +47,8 @@ > #endif > #ifdef HAVE_LIBV4L1_H > #include <libv4l1.h> > -#elif defined(HAVE_LINUX_VIDEODEV_H) > +#endif > +#ifdef HAVE_LINUX_VIDEODEV_H > #include <linux/videodev.h> > #endif > #ifdef HAVE_UNISTD_H > -- > 1.8.0.2 > > >