diff options
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -200,6 +200,19 @@ struct supertype { extern struct supertype *super_by_version(int vers, int minor); extern struct supertype *guess_super(int fd); +#ifdef UCLIBC + struct FTW {}; +# define FTW_PHYS 1 +#else +# define __USE_XOPEN_EXTENDED +# include <ftw.h> +# ifdef __dietlibc__ +# define FTW_PHYS 1 +# endif +#endif + +extern int add_dev(const char *name, const struct stat *stb, int flag, struct FTW *s); + extern int Manage_ro(char *devname, int fd, int readonly); extern int Manage_runstop(char *devname, int fd, int runstop, int quiet); |