diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-08-16 08:36:28 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-08-16 08:36:28 +0000 |
commit | 0722513497aac2836e9af79cde65705a61de8752 (patch) | |
tree | 38986b2a481255cb4ba02c993b09479104c194e8 /libbb | |
parent | cf6ef0571122d99f45adb782f1181c7abca61ce3 (diff) | |
download | busybox-0722513497aac2836e9af79cde65705a61de8752.tar.gz |
Use __kernel_old_dev_t for 2.6.x kernels
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/loop.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <asm/posix_types.h> #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 |