From 0722513497aac2836e9af79cde65705a61de8752 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 16 Aug 2004 08:36:28 +0000 Subject: Use __kernel_old_dev_t for 2.6.x kernels --- libbb/loop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbb') diff --git a/libbb/loop.c b/libbb/loop.c index fdd23f803..e2287b5ba 100644 --- a/libbb/loop.c +++ b/libbb/loop.c @@ -33,6 +33,8 @@ #include #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) +#define __bb_kernel_dev_t __kernel_old_dev_t +#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) #define __bb_kernel_dev_t __kernel_dev_t #else #define __bb_kernel_dev_t unsigned short -- cgit v1.2.3