summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2002-03-15 05:21:36 +0000
committerNeil Brown <neilb@suse.de>2002-03-15 05:21:36 +0000
commit56eb10c0b6e8f21540af444c8a28aa9e8f138ce6 (patch)
tree3b791ce573cca8c746f318411cb63d8c677678a1 /mdadm.h
parent9a9dab3670110c2db7fe6f716977b72adedbf855 (diff)
downloadmdadm-56eb10c0b6e8f21540af444c8a28aa9e8f138ce6.tar.gz
mdadm-56eb10c0b6e8f21540af444c8a28aa9e8f138ce6.tar.xz
mdadm-56eb10c0b6e8f21540af444c8a28aa9e8f138ce6.zip
mdadm-0.7.1mdadm-0.7.1
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdadm.h b/mdadm.h
index 6959cfe..ffed293 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -46,6 +46,9 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
#include <sys/ioctl.h>
#define MD_MAJOR 9
+/* I seem to need this to make BLKGETSIZE64 to work... */
+#define u64 __u64
+
#include "md_u.h"
@@ -149,4 +152,4 @@ extern int check_raid(int fd, char *name);
extern mddev_ident_t conf_get_ident(char *, char*);
extern mddev_dev_t conf_get_devs(char *);
-extern char *human_size(long kbytes);
+extern char *human_size(long long bytes);