From 22d26fc6ae2af584482deaf92f25bb6a7261ad78 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 15 Jun 2006 15:49:36 +0000 Subject: Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of fallout due to the #include . Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.) --- include/platform.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/platform.h b/include/platform.h index 3e1229e9d..5dbfb7783 100644 --- a/include/platform.h +++ b/include/platform.h @@ -242,8 +242,11 @@ typedef unsigned long long int uintmax_t; #define bb_setpgrp setpgrp() #endif -#if defined(__linux__) && !defined(BLKGETSIZE64) +#if defined(__linux__) +#include +#if !defined(BLKGETSIZE64) #define BLKGETSIZE64 _IOR(0x12,114,size_t) #endif +#endif #endif /* platform.h */ -- cgit v1.2.3