new/yocto/poky/meta/recipes-extended/mdadm/files/include_sysmacros.patch
2025-05-10 21:58:58 +08:00

15 lines
354 B
Diff

include sys/sysmacros.h for major/minor macro definitions
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/mdadm.h
+++ b/mdadm.h
@@ -35,6 +35,7 @@ extern __off64_t lseek64 __P ((int __fd,
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <stdint.h>
#include <stdlib.h>
#include <time.h>