[vlc-devel] V4L2 Compiling on Gentoo

Richard Hosking richard at hovis.net
Fri Oct 26 20:33:16 CEST 2007

Just compiling the trunk on Gentoo tonight (I have
been developing under Ubuntu until now) and it failed
on my V4L2 code oops :-(

This complied fine under Ubuntu 7.04.

After some Googling, I added types.h above the
videodev2.h line and it then compiles fine.

#include <linux/types.h>
#include <linux/videodev2.h>

??  No idea why.  Ubuntu is kernel 2.6.20, whereas
Gentoo is 2.6.22.

Can someone patch v4l2.c to add types.h for me if
they agree.


More information about the vlc-devel mailing list