[PATCH 1/1] mdadm/raid6check: add xmalloc.h to raid6check.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux