These funcs are defined in sys/sysmacros.h, so include it for them. It works today due to an implicit include by sys/types.h, but the various Linux C libraries are moving away from that. Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx> --- mdadm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mdadm.h b/mdadm.h index d209488..b8767a7 100755 --- a/mdadm.h +++ b/mdadm.h @@ -33,6 +33,7 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); # endif #endif +#include <sys/sysmacros.h> #include <sys/types.h> #include <sys/stat.h> #include <stdint.h> -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html