* video4linux headers
@ 2003-12-17 18:02 Måns Rullgård
0 siblings, 0 replies; only message in thread
From: Måns Rullgård @ 2003-12-17 18:02 UTC (permalink / raw)
To: linux-kernel
When compiling any program that uses video4linux under linux
2.6.0-testANY, I always get these errors:
In file included from /usr/include/linux/videodev2.h:16,
/usr/include/linux/time.h:9: redefinition of `struct timespec'
/usr/include/linux/time.h:15: redefinition of `struct timeval'
/usr/include/time.h:160: redefinition of `struct itimerspec'
Am I doing something terribly wrong? Simply placing an
#include <linux/time> in videodev2.h under #ifdef __KERNEL__ seems to
get rid of the compiler errors, though I'm sure that's not the proper
solution.
--
Måns Rullgård
mru@kth.se
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-17 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-17 18:02 video4linux headers Måns Rullgård
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome