summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/loop.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libbb/loop.c b/libbb/loop.c
index 42720d3..1156cef 100644
--- a/libbb/loop.c
+++ b/libbb/loop.c
@@ -31,10 +31,11 @@
* so we get to try and cope as best we can... */
#include <linux/version.h>
#include <asm/posix_types.h>
-#if LINUX_VERSION_CODE >= 0x20600
-#define __bb_kernel_dev_t __kernel_dev_t
-#elif LINUX_VERSION_CODE >= 132608
+
+#if LINUX_VERSION_CODE >= 132608
#define __bb_kernel_dev_t __kernel_old_dev_t
+#elif LINUX_VERSION_CODE >= 0x20600
+#define __bb_kernel_dev_t __kernel_dev_t
#else
#define __bb_kernel_dev_t unsigned short
#endif