aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-17 06:57:03 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:09 -0400
commit89a58c83f8f1056583f30c4d4258b1fec39bb0e2 (patch)
tree2add8629720749804558518a59f7c0b93b041632 /include/linux/videodev2.h
parent5dab71b1e85356fdd7cbc29d338ca6c0bd0e4e49 (diff)
V4L/DVB (4108): Fixes some userspace dependencies at V4L2 public api header
Make life easier for distro guys, by removing the need of including at the userspace header. Also, linux/compiler.h is not needed at userspace. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index bc957d83a127..9a70c5654ceb 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -15,10 +15,12 @@
15#ifndef __LINUX_VIDEODEV2_H 15#ifndef __LINUX_VIDEODEV2_H
16#define __LINUX_VIDEODEV2_H 16#define __LINUX_VIDEODEV2_H
17#ifdef __KERNEL__ 17#ifdef __KERNEL__
18#include <linux/time.h> /* need struct timeval */ 18#include <linux/time.h> /* need struct timeval */
19#include <linux/compiler.h> /* need __user */
20#else
21#define __user
19#endif 22#endif
20#include <linux/types.h> 23#include <linux/types.h>
21#include <linux/compiler.h> /* need __user */
22 24
23#define HAVE_V4L2 1 25#define HAVE_V4L2 1
24 26