Re: Compile problem in 1.0.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hey John,

On Thu, 2003-04-10 at 01:08, John Coppens wrote:
> In v4l.c, line 67, I changed:
> 
> #include <sys/time.h>
> to
> #include <linux/time.h>

Don't do that. linux/time.h is broken, not the other one.

> which eliminated two errors and left:
> 
> In file included from v4l.c:67:
> /usr/include/linux/time.h:9: redefinition of `struct timespec'
> /usr/include/linux/time.h:88: redefinition of `struct timeval'

Use #define _lINUX_TIME_H 1 just before including videodev.h or
videodev2.h.

Ronald

-- 
Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx>





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux