From 70924af414b258c769a2ece2c64b7c9b14c18fc8 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 5 Jun 2006 11:46:46 -0300 Subject: Userspace compilation were broken by the changes at videodev. From: Mauro Carvalho Chehab Userspace have its own headers for timeval, so, include linux/time.h shouldn't be done at userspace. Signed-off-by: Mauro Carvalho Chehab --- linux/include/linux/videodev2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux') diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h index 8ed112a10..630ebfaca 100644 --- a/linux/include/linux/videodev2.h +++ b/linux/include/linux/videodev2.h @@ -14,7 +14,9 @@ */ #ifndef __LINUX_VIDEODEV2_H #define __LINUX_VIDEODEV2_H +#ifdef __KERNEL__ #include /* need struct timeval */ +#endif #include #include /* need __user */ -- cgit v1.2.3