qcap: Fix compilation on older systems.

Damjan Jovanovic damjan.jov at gmail.com
Fri Jan 18 03:45:40 CST 2013


On Fri, Jan 18, 2013 at 4:45 AM, Francois Gouget <fgouget at free.fr> wrote:
> On Tue, 15 Jan 2013, Damjan Jovanovic wrote:
>
>> 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?
>
> Actually I'm running into this issue on my FreeBSD 8.1 VM: libv4l1.h
> does not have any of the VIDIOCS* defines.
>
> --
> Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
> The nice thing about meditation is that it makes doing nothing quite respectable
>                                   -- Paul Dean

Yes, version 0.8.1 used by FreeBSD 8.2 relies on linux/videodev.h to
already be present. We'll have to change our configure.in to use
pkg-config to find libv4l1(.pc) and check its version is high enough.
Want to get a patch in before the 1.4.2 release later today? I'll be
too late.

Damjan



More information about the wine-devel mailing list