mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 13:21:45 +00:00
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>
This commit is contained in:
parent
dd1e729d63
commit
3d58ffe2aa
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@
|
||||||
#include <linux/compiler.h> /* need __user */
|
#include <linux/compiler.h> /* need __user */
|
||||||
#else
|
#else
|
||||||
#define __user
|
#define __user
|
||||||
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue