From ceec1709f7b3f2dbdbff6cc6559a3f77f19b9f3e Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 19 Sep 2014 00:04:24 -0400 Subject: [PATCH] mke2fs: don't depend on Define the KERNEL_VERSION macro explicitly instead of using , since it's not available when using dietlibc. Signed-off-by: Theodore Ts'o --- misc/mke2fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/mke2fs.c b/misc/mke2fs.c index 550e886..c9f5810 100644 --- a/misc/mke2fs.c +++ b/misc/mke2fs.c @@ -27,7 +27,7 @@ #include #ifdef __linux__ #include -#include +#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) #endif #ifdef HAVE_GETOPT_H #include -- 1.8.3.1