Mauro Carvalho Chehab wrote:
Tyler,

        We've separated V4L2 from V4L1. This way, videodev.h have now only V4L1
stuff. Common stuff for both APIs are at V4L2. This is a first step for
making V4L1 obsoleted. There are some tests at videodev.h (and now also
on videodev2.h) to check about kernel version, in CVS. These tests are
removed by script when we prepare the kernel patchsets. For these tests
it is need these two include files, before including videodev2.h:

#include <linux/version.h>
#include <linux/utsname.h>

        On CVS version, this is done by compat.h, where we also handle other
compat issues.

        To make ivtv compile again, the better way is to include "compat.h"
before including other V4L CVS headers.
        If you include version.h on ivtv, it will work, but after migrating it
to kernel it would produce a bad side efect that the module will be
recompiled for every minor change on kernel number (for every new -git
numer, version is touched).

Our problem arises when using the header for the user programs, in the kernel stuff it works fine.
--
Tyler Trafford

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to