diff options
-rw-r--r-- | libbb/loop.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libbb/loop.c b/libbb/loop.c index 42720d3cb..1156cefc0 100644 --- a/libbb/loop.c +++ b/libbb/loop.c | |||
@@ -31,10 +31,11 @@ | |||
31 | * so we get to try and cope as best we can... */ | 31 | * so we get to try and cope as best we can... */ |
32 | #include <linux/version.h> | 32 | #include <linux/version.h> |
33 | #include <asm/posix_types.h> | 33 | #include <asm/posix_types.h> |
34 | #if LINUX_VERSION_CODE >= 0x20600 | 34 | |
35 | #define __bb_kernel_dev_t __kernel_dev_t | 35 | #if LINUX_VERSION_CODE >= 132608 |
36 | #elif LINUX_VERSION_CODE >= 132608 | ||
37 | #define __bb_kernel_dev_t __kernel_old_dev_t | 36 | #define __bb_kernel_dev_t __kernel_old_dev_t |
37 | #elif LINUX_VERSION_CODE >= 0x20600 | ||
38 | #define __bb_kernel_dev_t __kernel_dev_t | ||
38 | #else | 39 | #else |
39 | #define __bb_kernel_dev_t unsigned short | 40 | #define __bb_kernel_dev_t unsigned short |
40 | #endif | 41 | #endif |