Hi,

just for the record, the missing includes were

#include <linux/types.h> /* not <sys/types.h> */

#define _LINUX_TIME_H 1
#include <linux/videodev2.h>

Thanks

Thomas

On 28 Mar 2003, Ronald Bultje wrote:

> 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
> 
> 

-- 
Thomas H. Allin                         Ph.D. Student, M.Sc.
Ørsted DTU, Bldg. 327                   E-mail: [EMAIL PROTECTED]
Technical University of Denmark         Phn: +45 45 25 34 39
DK-2800 Kongens Lyngby                  Fax: +45 45 88 71 33



--
video4linux-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to