From: Theodore Ts'o Date: Fri, 19 Sep 2014 04:04:24 +0000 (-0400) Subject: mke2fs: don't depend on X-Git-Tag: v1.42.13~34 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ceec1709f7b3f2dbdbff6cc6559a3f77f19b9f3e;p=tools%2Fe2fsprogs.git 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 --- 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