From 823f9da3767ef4f6c710c6856ec5d782d794ec56 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Thu, 1 Nov 2007 09:16:48 +0100 Subject: v4l/compat.h: add KERN_CONT for pre-2.6.24 kernels From: Hans Verkuil Signed-off-by: Hans Verkuil --- v4l/compat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v4l/compat.h b/v4l/compat.h index e4877e865..ec43d8630 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -5,6 +5,10 @@ #ifndef _COMPAT_H #define _COMPAT_H +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24) +#define KERN_CONT "" +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23) # define set_freezable() #endif -- cgit v1.2.3