From f10435580f571177b0c8825320983fc9b9423202 Mon Sep 17 00:00:00 2001 From: Pau Garcia i Quiles Date: Fri, 9 Oct 2009 11:34:16 +0200 Subject: 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. --- sys/v4l2/gstv4l2object.h | 1 + 1 file changed, 1 insertion(+) 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 #include #ifndef __sun #include -- cgit