summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-05 11:46:46 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-05 11:46:46 -0300
commit70924af414b258c769a2ece2c64b7c9b14c18fc8 (patch)
tree606547957d92ce873c3394ffbf8de93abb8ae387 /linux
parent846c556b88da6cefc77bcd828f0266c7b6f1da29 (diff)
downloadmediapointer-dvb-s2-70924af414b258c769a2ece2c64b7c9b14c18fc8.tar.gz
mediapointer-dvb-s2-70924af414b258c769a2ece2c64b7c9b14c18fc8.tar.bz2
Userspace compilation were broken by the changes at videodev.
From: Mauro Carvalho Chehab <mchehab@infradead.org> Userspace have its own headers for timeval, so, include linux/time.h shouldn't be done at userspace. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/include/linux/videodev2.h2
1 files changed, 2 insertions, 0 deletions
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 <linux/time.h> /* need struct timeval */
+#endif
#include <linux/types.h>
#include <linux/compiler.h> /* need __user */