projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd1e729
)
V4L/DVB (5867): videodev2.h: add missing <sys/time.h> for userspace
author
Hans Verkuil
<hverkuil@xs4all.nl>
Wed, 18 Jul 2007 21:41:08 +0000
(18:41 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Fri, 20 Jul 2007 20:35:52 +0000
(17:35 -0300)
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>
include/linux/videodev2.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/videodev2.h
b/include/linux/videodev2.h
index d16a2b57dc8105806a07afa5e97e843cd0844274..c66c8a3410b926d10b0c2ac55e45d09277af96be 100644
(file)
--- 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>