Package: linux-libc-dev
Version: 2.6.22-4
Severity: normal

A C program including linux/videodev2.h results in the following error
message:

In file included from videodev-bug.c:2:
/usr/include/linux/videodev2.h:482: error: field timestamp has
incomplete type

A simple C program that exhibits this behavior is as follows:

#include <linux/videodev2.h>

int main (void) {
        return 0;
}

it can be compiled using the following command to generate the error message:

gcc program.c -o program

This behavior was observed on a default install of Lenny with kernel version 2.6.22-2-amd64. The error does not occur on an Etch install.

A temporary work-around I'm using is to include sys/time.h in the users source file before include linux/videodev(2).h.

Cheers,
- Philip



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to