From af3fd14e4df87d8af833d5e7b97d285b4d137d60 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 22 Sep 2009 23:16:39 +0200 Subject: hdparm,fdisk: reinstate BLKGETSIZE64 #defines. No code changes Signed-off-by: Denys Vlasenko --- util-linux/fdisk.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util-linux') diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index e50ee77d1..1bb3a9d4e 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -9,13 +9,16 @@ #ifndef _LARGEFILE64_SOURCE /* For lseek64 */ -#define _LARGEFILE64_SOURCE +# define _LARGEFILE64_SOURCE #endif #include /* assert */ #include #if !defined(BLKSSZGET) # define BLKSSZGET _IO(0x12, 104) #endif +#if !defined(BLKGETSIZE64) +# define BLKGETSIZE64 _IOR(0x12,114,size_t) +#endif #include "libbb.h" /* Looks like someone forgot to add this to config system */ -- cgit v1.2.3