mirror of
https://git.yoctoproject.org/poky
synced 2026-03-10 17:29:40 +01:00
Fixes implicit declaration of function 'minor' is invalid in C99 [-Wimplicit-function-declaration] which eventually ends up with a linker error (From OE-Core rev: 5841e52e79274b2da17bf7dbd1224d0a3dca2d6f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
354 B
Diff
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>
|