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 --- miscutils/hdparm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'miscutils/hdparm.c') diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 60682231a..0917b4175 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c @@ -15,6 +15,9 @@ /* must be _after_ libbb.h: */ #include #include +#if !defined(BLKGETSIZE64) +# define BLKGETSIZE64 _IOR(0x12,114,size_t) +#endif /* device types */ /* ------------ */ -- cgit v1.2.3