From c5cf5a83be4e3ce04ebf3250f77aeb465eeb53a1 Mon Sep 17 00:00:00 2001 From: Xiao Ni Date: Fri, 17 Jan 2025 15:15:40 +0800 Subject: [PATCH] mdadm/raid6check: add xmalloc.h to raid6check.c 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 Link: https://lore.kernel.org/r/20250117071540.4094-1-xni@redhat.com Signed-off-by: Song Liu Upstream-Status: Backport [https://web.git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?h=main&id=e0df6c4c984d564e9e40913727e916a6cd8f466e] Signed-off-by: Alexander Kanavin --- raid6check.c | 1 + 1 file changed, 1 insertion(+) diff --git a/raid6check.c b/raid6check.c index 8e7f1421..486b10c6 100644 --- a/raid6check.c +++ b/raid6check.c @@ -26,6 +26,7 @@ #define _FILE_OFFSET_BITS 64 #include "mdadm.h" +#include "xmalloc.h" #include #include