From d720f83f87cebc55116ce9aebe5bcbe7d21a49d3 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 3 Aug 2019 11:27:55 +0200 Subject: mdadm: Fix compile with musl 1.1.23 This adds missing includes for sys/sysmacros.h which are needed with musl libc 1.1.23. Signed-off-by: Hauke Mehrtens (cherry picked from commit ba8aeb02eae26771b89390403462e6841621069e) --- package/utils/mdadm/patches/200-reduce_size.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/utils/mdadm/patches/200-reduce_size.patch') diff --git a/package/utils/mdadm/patches/200-reduce_size.patch b/package/utils/mdadm/patches/200-reduce_size.patch index 098fa1e1ec..3b6e879666 100644 --- a/package/utils/mdadm/patches/200-reduce_size.patch +++ b/package/utils/mdadm/patches/200-reduce_size.patch @@ -1,6 +1,6 @@ --- a/Incremental.c +++ b/Incremental.c -@@ -1619,6 +1619,10 @@ static int Incremental_container(struct supertype *st, char *devname, +@@ -1620,6 +1620,10 @@ static int Incremental_container(struct if (ra_all == ra_blocked) return 0; @@ -13,7 +13,7 @@ memcpy(suuid, uuid_zero, sizeof(int[4])); --- a/util.c +++ b/util.c -@@ -1220,7 +1220,9 @@ void wait_for(char *dev, int fd) +@@ -1221,7 +1221,9 @@ void wait_for(char *dev, int fd) struct superswitch *superlist[] = { &super0, &super1, -- cgit v1.2.3