Re: trivial videodev2.h patch

From: Mauro Carvalho Chehab
Date: Fri May 26 2006 - 09:31:06 EST


Hi Christian,

Em Qui, 2006-05-25 às 11:03 +0100, Christian Kujau escreveu:
> On Wed, 24 May 2006, David Mosberger-Tang wrote:
> > linux/videodev2.h uses types such as __u8 but it fails to include
> > <linux/types.h>. Within the kernel, that's not a problem because
> > <linux/time.h> already includes <linux/types.h>. However, there are
> > user apps that try to include videodev2.h (e.g., ekiga) and at least
>
> userspace apps should (must?) not include kernel headers, AFAIK.
> there is lots of discussion regarding this in the lkml archives...
In fact, this videodev2.h header is meant to describe the public API for
V4L2. The current version have several kernel-specific stuff (under
__KERNEL define), but we are already working on cleaning those stuff.

Currently, on V4L, all kernel-specific stuff are under include/media,
while the public stuff are under include/linux.
>
> Christian.
Cheers,
Mauro.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/