From 8bad9152e693742a3a7dde6392ca7b8497955921 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Tue, 5 Jan 2010 21:52:49 +0800 Subject: [PATCH] b=21592 BLKGETSIZE64 redefinition on some platform. i=adilger i=panda --- lustre/utils/mkfs_lustre.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index 3d18e71..ec28db9 100644 --- a/lustre/utils/mkfs_lustre.c +++ b/lustre/utils/mkfs_lustre.c @@ -68,7 +68,9 @@ /* kp30.h is not really needed here, but on SLES10/PPC, fs.h includes idr.h which * requires BITS_PER_LONG to be defined */ #include +#ifndef BLKGETSIZE64 #include /* for BLKGETSIZE64 */ +#endif #include #endif #include -- 1.8.3.1