summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-18 23:41:08 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2007-07-18 23:41:08 +0200
commitafd5335417df461fb52a41eee712bd3cdf83e452 (patch)
treea32e544f59d195143409e64c773a1f38c6ee1b78
parentf9411f6ddc7998112b5d287e9ab1de134358cb33 (diff)
downloadmediapointer-dvb-s2-afd5335417df461fb52a41eee712bd3cdf83e452.tar.gz
mediapointer-dvb-s2-afd5335417df461fb52a41eee712bd3cdf83e452.tar.bz2
videodev2.h: add missing <sys/time.h> when included by an application
From: Hans Verkuil <hverkuil@xs4all.nl> 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>
-rw-r--r--linux/include/linux/videodev2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h
index dc4fb4588..f21fc9c3b 100644
--- a/linux/include/linux/videodev2.h
+++ b/linux/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>