Ronald Bultje wrote:
Hi,
Well, the 'old' videodev2.h didn't include a time header file, so
timeval e.d. were unknown to it. that's why people included time.h in
their own apps. (note: time.h means /usr/include/time.h, it defines
struct timespec and some others on my RH-8.0 box). The 'new' videodev2.h
does include a time.h (/usr/include/>>linux/<<time.h, so another file!),
which defines these. However, some apps still include time.h, so the
struct is defined twice and compilation horribly fails.
Maybe sombody knows any cure?
Remove "#include <linux/time.h>" from videodev2.h, or remove "#include
<time.h>", or whatever include indirectly includes time.h, from the
source you're trying to compile.
Ronald
Thank,s a lot.
I gonna try.
One more question: both v4l2 patch and xawtv (last version) are from
bytesex team. Why it is not compatibile?
Wieslaw