1 From 452dc4d13a012cdcb05088c0dbc699959c4d6c73 Mon Sep 17 00:00:00 2001
2 From: Baruch Siach <baruch@tkos.co.il>
3 Date: Tue, 6 Aug 2019 16:05:23 +0300
4 Subject: mdadm.h: include sysmacros.h unconditionally
6 musl libc now also requires sys/sysmacros.h for the major/minor macros.
7 All supported libc implementations carry sys/sysmacros.h, including
8 diet-libc, klibc, and uclibc-ng.
10 Cc: Hauke Mehrtens <hauke@hauke-m.de>
11 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
12 Signed-off-by: Jes Sorensen <jsorensen@fb.com>
15 1 file changed, 2 deletions(-)
19 @@ -45,10 +45,8 @@ extern __off64_t lseek64 __P ((int __fd,
24 /* Newer glibc requires sys/sysmacros.h directly for makedev() */
25 #include <sys/sysmacros.h>
29 /* dietlibc has deprecated random and srandom!! */