[vlc-devel] [PATCH] Fix for building V4L2 under Gentoo

Alexis Ballier aballier at gentoo.org
Sun Nov 4 13:22:23 CET 2007


Hi, 


> Attached is a patch to include types.h so v4l2.c compiles
> under Gentoo (kernel 2.6.22).
> 
> If types.h is not present, then I get build errors as shown
> in the output here:-
> 
> http://hovis.net/vlc-gentoo-make-error.txt
> 
> Adding types.h fixes this.

here /usr/include/linux/videodev2.h already includes linux/types.h

what version of linux-headers are you using ?

you should try to compile a sample C file just including
linux/videodev2.h and see what happens. I don't think v4l2.c from vlc
uses anything from linux/types.h so it's most likely to be a
linux-headers bug that should get tracked and reported on
bugs.gentoo.org

Regards,

Alexis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071104/8a213fab/attachment.sig>


More information about the vlc-devel mailing list