diff options
Diffstat (limited to 'v4l/compat.h')
-rw-r--r-- | v4l/compat.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index 85f179da3..67fc48824 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -1,5 +1,5 @@ /* - * $Id: compat.h,v 1.41 2005/12/08 16:06:52 mkrufky Exp $ + * $Id: compat.h,v 1.42 2005/12/10 01:43:26 mchehab Exp $ */ #ifndef _COMPAT_H @@ -10,7 +10,6 @@ #include <linux/version.h> #include <linux/utsname.h> #include <linux/sched.h> -#include <linux/device.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18) # define minor(x) MINOR(x) @@ -21,6 +20,8 @@ # define need_resched() (current->need_resched) #define work_struct tq_struct +#else +#include <linux/device.h> #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,19) |