]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
mdadm/raid6check: add xmalloc.h to raid6check.c
authorXiao Ni <xni@redhat.com>
Fri, 17 Jan 2025 07:15:40 +0000 (15:15 +0800)
committerSong Liu <song@kernel.org>
Fri, 17 Jan 2025 18:23:10 +0000 (10:23 -0800)
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@redhat.com>
Link: https://lore.kernel.org/r/20250117071540.4094-1-xni@redhat.com
Signed-off-by: Song Liu <song@kernel.org>
raid6check.c

index 99477761c640b696bc1a36df10747b5defe54025..95533f7d0836f2ce015facf452a42e317dfec3e6 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 #include "mdadm.h"
+#include "xmalloc.h"
 #include <stdint.h>
 #include <sys/mman.h>