summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko2009-10-08 03:06:04 +0200
committerDenys Vlasenko2009-10-08 03:06:04 +0200
commit4ac9819263114edb9b5b638ffa6d2e41a4bb46e7 (patch)
treef0c5bc9c7a2bf3a384b85350bfe4c9ca5ec4858f /miscutils
parent5b807cd5acd1f27b3e7aa36aac2728be27c5907c (diff)
downloadbusybox-4ac9819263114edb9b5b638ffa6d2e41a4bb46e7.zip
busybox-4ac9819263114edb9b5b638ffa6d2e41a4bb46e7.tar.gz
apply post-1.15.1 fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/hdparm.c3
1 files changed, 3 insertions, 0 deletions
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 <linux/hdreg.h>
#include <sys/mount.h>
+#if !defined(BLKGETSIZE64)
+# define BLKGETSIZE64 _IOR(0x12,114,size_t)
+#endif
/* device types */
/* ------------ */