Commit:     83db33a3e5c4200eaf5dec5b4883c0e73f468a3b
Parent:     7c018804c0900e7be18507f1eb24e631aa9816ea
Author:     Jiri Slaby <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 13 20:04:49 2008 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Mon Feb 18 12:18:05 2008 -0300

    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 
    Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
 include/linux/videodev.h  |    1 +
 include/linux/videodev2.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/videodev.h b/include/linux/videodev.h
index 52e3d5f..9385a56 100644
--- a/include/linux/videodev.h
+++ b/include/linux/videodev.h
@@ -12,6 +12,7 @@
+#include <linux/ioctl.h>
 #include <linux/videodev2.h>
 #if defined(CONFIG_VIDEO_V4L1_COMPAT) || !defined (__KERNEL__)
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 439474f..17a8017 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -62,6 +62,7 @@
 #define __user
 #include <sys/time.h>
+#include <linux/ioctl.h>
 #include <linux/types.h>
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to