From: Eric Andersen Date: Mon, 16 Aug 2004 08:36:28 +0000 (-0000) Subject: Use __kernel_old_dev_t for 2.6.x kernels X-Git-Tag: 1_00_rc3~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0722513497aac2836e9af79cde65705a61de8752;p=platform%2Fupstream%2Fbusybox.git Use __kernel_old_dev_t for 2.6.x kernels --- diff --git a/libbb/loop.c b/libbb/loop.c index fdd23f8..e2287b5 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