#include <sys/stat.h>
#include <stdlib.h>
#include <time.h>
+#include <sys/time.h>
#include <getopt.h>
#include <fcntl.h>
#include <stdio.h>
mdu_array_info_t array;
mdu_disk_info_t disk;
__u64 events;
- unsigned int uuid[4];
+ int uuid[4];
};
#define Name "mdadm"
#define ModeMask 0x1f
#define ModeShift 5
+
+
+#ifdef __TINYC__
+#undef minor
+#undef major
+#undef makedev
+#define minor(x) ((x)&0xff)
+#define major(x) (((x)>>8)&0xff)
+#define makedev(M,m) (((M)<<8) | (m))
+#endif
+