V4L/DVB (7198): V4L, include ioctl.h in videodev headers
authorJiri Slaby <jirislaby@gmail.com>
Wed, 13 Feb 2008 23:04:49 +0000 (20:04 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 18 Feb 2008 15:18:05 +0000 (12:18 -0300)
commit83db33a3e5c4200eaf5dec5b4883c0e73f468a3b
treeaf2774937940aeea5dbe980918d9aadc1a52b76c
parent7c018804c0900e7be18507f1eb24e631aa9816ea
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>
include/linux/videodev.h
include/linux/videodev2.h