summaryrefslogtreecommitdiffstats
path: root/include/linux/videodev.h
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-02-13 20:04:49 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 12:18:05 -0300
commit83db33a3e5c4200eaf5dec5b4883c0e73f468a3b (patch)
treeaf2774937940aeea5dbe980918d9aadc1a52b76c /include/linux/videodev.h
parent7c018804c0900e7be18507f1eb24e631aa9816ea (diff)
downloadlinux-83db33a3e5c4200eaf5dec5b4883c0e73f468a3b.tar.gz
linux-83db33a3e5c4200eaf5dec5b4883c0e73f468a3b.tar.bz2
linux-83db33a3e5c4200eaf5dec5b4883c0e73f468a3b.zip
V4L/DVB (7198): V4L, include ioctl.h in videodev headers
Fix compilation of user processes which includes videodev*.h but not includes linux/ioctl.h: v4l2ext_helper.c: In function 'process_ioctl': v4l2ext_helper.c:183: warning: implicit declaration of function '_IOWR' v4l2ext_helper.c:183: error: expected expression before 'struct' v4l2ext_helper.c:183: error: case label does not reduce to an integer constant Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/linux/videodev.h')
-rw-r--r--include/linux/videodev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/videodev.h b/include/linux/videodev.h
index 52e3d5fd5be4..9385a566aed8 100644
--- a/include/linux/videodev.h
+++ b/include/linux/videodev.h
@@ -12,6 +12,7 @@
#ifndef __LINUX_VIDEODEV_H
#define __LINUX_VIDEODEV_H
+#include <linux/ioctl.h>
#include <linux/videodev2.h>
#if defined(CONFIG_VIDEO_V4L1_COMPAT) || !defined (__KERNEL__)