It reports building error: raid6check.c:324:26: error: implicit declaration of function xmalloc Add xmalloc.h to raid6check.c file to fix this. Signed-off-by: Xiao Ni <xni@xxxxxxxxxx> --- raid6check.c | 1 + 1 file changed, 1 insertion(+) diff --git a/raid6check.c b/raid6check.c index 99477761c640..95533f7d0836 100644 --- a/raid6check.c +++ b/raid6check.c @@ -23,6 +23,7 @@ */ #include "mdadm.h" +#include "xmalloc.h" #include <stdint.h> #include <sys/mman.h> -- 2.32.0 (Apple Git-132)