summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-02-13 18:04:49 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-13 18:04:49 -0200
commit5e50ed79abab16753c7949d61a5021eceecf3b80 (patch)
tree03488320f03b6a10a24d6869112ef7b21042b484 /linux/include
parentf8e40c64095cef74bb5b1ab3f382a4f8d88975aa (diff)
downloadmediapointer-dvb-s2-5e50ed79abab16753c7949d61a5021eceecf3b80.tar.gz
mediapointer-dvb-s2-5e50ed79abab16753c7949d61a5021eceecf3b80.tar.bz2
V4L, include ioctl.h in videodev headers
From: Jiri Slaby <jirislaby@gmail.com> 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 'linux/include')
-rw-r--r--linux/include/linux/videodev.h1
-rw-r--r--linux/include/linux/videodev2.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/linux/include/linux/videodev.h b/linux/include/linux/videodev.h
index 52e3d5fd5..9385a566a 100644
--- a/linux/include/linux/videodev.h
+++ b/linux/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__)
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h
index cbaf58c86..7e0126f03 100644
--- a/linux/include/linux/videodev2.h
+++ b/linux/include/linux/videodev2.h
@@ -62,6 +62,7 @@
#define __user
#include <sys/time.h>
#endif
+#include <linux/ioctl.h>
#include <linux/types.h>
/*