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/em28xx/em28xx-video.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux/drivers/media/video/em28xx') diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c index bdfa47898..3194f64c0 100644 --- a/linux/drivers/media/video/em28xx/em28xx-video.c +++ b/linux/drivers/media/video/em28xx/em28xx-video.c @@ -33,6 +33,10 @@ #include "em28xx.h" #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) +#include +#include +#endif #define DRIVER_AUTHOR "Ludovico Cavedon , " \ "Markus Rechberger , " \ -- cgit v1.2.3