mdadm: fix musl.

This commit is contained in:
Leah Neukirchen 2024-03-08 14:49:01 +01:00
parent f6e0102241
commit e58d2b17d3
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,20 @@
--- mdadm-4.3/util.c
+++ mdadm-4.3/util.c
@@ -32,6 +32,7 @@
#include <sys/vfs.h>
#include <sys/mman.h>
#include <linux/magic.h>
+#include <limits.h>
#include <poll.h>
#include <ctype.h>
#include <dirent.h>
--- mdadm-4.3/Create.c
+++ mdadm-4.3/Create.c
@@ -28,6 +28,7 @@
#include "md_p.h"
#include <ctype.h>
#include <fcntl.h>
+#include <linux/falloc.h>
#include <signal.h>
#include <sys/signalfd.h>
#include <sys/wait.h>

View file

@ -1,7 +1,7 @@
# Template file for 'mdadm'
pkgname=mdadm
version=4.3
revision=1
revision=2
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel"
short_desc="Tool for managing/monitoring Linux md device arrays"