diff options
author | Pau Garcia i Quiles <pgquiles@elpauer.org> | 2009-10-09 11:34:16 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-10-09 11:34:16 +0200 |
commit | f10435580f571177b0c8825320983fc9b9423202 (patch) | |
tree | f877628772860ff524a6059a765f489c796408eb /sys | |
parent | 993a29a39064e3afe070eb08e99ee50caea66242 (diff) |
v4l2: Include sys/ioctl.h for the V4L ioctl requests
Old videodevice2.h kernel headers used ioctl stuff without
including ioctl.h, making compilation fail on older systems.
Note: Including ioctl.h here is only a workaround for old kernel
headers, should be removed once everybody has new enough headers.
Fixes bug #597867.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/v4l2/gstv4l2object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2object.h b/sys/v4l2/gstv4l2object.h index 4aac3a51..ba0799f6 100644 --- a/sys/v4l2/gstv4l2object.h +++ b/sys/v4l2/gstv4l2object.h @@ -36,6 +36,7 @@ * upstream, which I'll consider doing later on. If you get compiler * errors here, check your linux/time.h && sys/time.h header setup. */ +#include <sys/ioctl.h> #include <sys/types.h> #ifndef __sun #include <linux/types.h> |