diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-23 01:16:39 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-23 01:16:39 +0400 |
commit | af3fd14e4df87d8af833d5e7b97d285b4d137d60 (patch) | |
tree | 56027df28b48904f3e06048034135848dcabd99c /miscutils/hdparm.c | |
parent | ed4ff0e8cbe8b330ecc9c51d0c5ff2ad1647ad5d (diff) |
hdparm,fdisk: reinstate BLKGETSIZE64 #defines. No code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/hdparm.c')
-rw-r--r-- | miscutils/hdparm.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <linux/hdreg.h> #include <sys/mount.h> +#if !defined(BLKGETSIZE64) +# define BLKGETSIZE64 _IOR(0x12,114,size_t) +#endif /* device types */ /* ------------ */ |