qcap: Fix compilation on older systems.

Francois Gouget fgouget at free.fr
Fri Jan 18 09:32:42 CST 2013

On Fri, 18 Jan 2013, Damjan Jovanovic wrote:
> 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.

Checking versions is generally the wrong approach. Instead a test for 
the present of one of the VIDIOCS* defines would be better. However V4L 
is used in two places in qcap, only one of which needs these. So it 
should probably be done separately from the V4L check.

> Want to get a patch in before the 1.4.2 release later today? I'll be 
> too late.

I won't have time either today.

Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
      Broadcast message : fin du monde dans cinq minutes, repentez vous !

More information about the wine-devel mailing list