aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-18 18:41:08 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-20 17:35:52 -0300
commit3d58ffe2aa107df6db57f875dba5368960b17cde (patch)
tree96829c9bc84f9b36c7c8cecf6986b185807cc534 /include/linux/videodev2.h
parentdd1e729d63f74a0b6290ca417bafd3fd8665db50 (diff)
downloadkernel_samsung_smdk4412-3d58ffe2aa107df6db57f875dba5368960b17cde.zip
kernel_samsung_smdk4412-3d58ffe2aa107df6db57f875dba5368960b17cde.tar.gz
kernel_samsung_smdk4412-3d58ffe2aa107df6db57f875dba5368960b17cde.tar.bz2
V4L/DVB (5867): videodev2.h: add missing <sys/time.h> for userspace
When videodev2.h is included by an application, it needs to include <sys/time.h> for the timeval struct. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index d16a2b5..c66c8a3 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -60,6 +60,7 @@
#include <linux/compiler.h> /* need __user */
#else
#define __user
+#include <sys/time.h>
#endif
#include <linux/types.h>