summaryrefslogtreecommitdiff
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-19 01:41:08 +0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-21 00:35:52 +0400
commit3d58ffe2aa107df6db57f875dba5368960b17cde (patch)
tree96829c9bc84f9b36c7c8cecf6986b185807cc534 /include/linux/videodev2.h
parentdd1e729d63f74a0b6290ca417bafd3fd8665db50 (diff)
downloadlinux-3d58ffe2aa107df6db57f875dba5368960b17cde.tar.xz
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 d16a2b57dc81..c66c8a3410b9 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>