diff options
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 @@ | |||
15 | /* must be _after_ libbb.h: */ | 15 | /* must be _after_ libbb.h: */ |
16 | #include <linux/hdreg.h> | 16 | #include <linux/hdreg.h> |
17 | #include <sys/mount.h> | 17 | #include <sys/mount.h> |
18 | #if !defined(BLKGETSIZE64) | ||
19 | # define BLKGETSIZE64 _IOR(0x12,114,size_t) | ||
20 | #endif | ||
18 | 21 | ||
19 | /* device types */ | 22 | /* device types */ |
20 | /* ------------ */ | 23 | /* ------------ */ |