diff options
-rw-r--r-- | include/linux/videodev2.h | 6 |
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 | ||