Re: time.h, included from videodev2.h

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



Hey Thomas,

On Fri, 2003-03-28 at 13:03, Thomas Højgaard Allin wrote:
> /usr/include/linux/videodev2.h:116: parse error before `__s32'
[..]
> > /* your own includes */
> > #include <stdio.h>
> > #include <fcntl.h>
> > #include <sys/ioctl.h>

Add "#include <sys/types.h>" here. __s32 isn't a standard C symbol, so
you need a typedef, which is recursively provided in $(inc)/sys/types.h.

> > /* we don't want linux/time.h */
> > #define _LINUX_TIME_H 1
> > #include <linux/videodev2.h>

Ronald

-- 
Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx>
Linux Video/Multimedia developer





[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