From 4ac9819263114edb9b5b638ffa6d2e41a4bb46e7 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 8 Oct 2009 03:06:04 +0200 Subject: apply post-1.15.1 fixes 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 6068223..0917b41 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.1