From c652e86c520a930ce138a26e8b3a1008c12831d4 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 11 Dec 2005 18:11:56 +0000 Subject: Makes v4l compile under 2.4 kernels From: Mauro Carvalho Chehab kernel-sync - Makes V4L compile with kernel 2.4 - em28xx doesn't compile with 2.4 kernels. Additional work is necessary to make it compile. Thanks-to: Stefan Leichter Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/cx25840/cx25840-core.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux/drivers/media/video/cx25840/cx25840-core.c') diff --git a/linux/drivers/media/video/cx25840/cx25840-core.c b/linux/drivers/media/video/cx25840/cx25840-core.c index 517a702bd..cfa9cca9f 100644 --- a/linux/drivers/media/video/cx25840/cx25840-core.c +++ b/linux/drivers/media/video/cx25840/cx25840-core.c @@ -34,6 +34,9 @@ #include #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) +#include +#endif #include "cx25840.h" -- cgit v1.2.3