You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-fs/dmraid/files/dmraid-1.0.0_rc16-musl.patch

23 lines
591 B

https://bugs.gentoo.org/717430
https://git.alpinelinux.org/aports/plain/main/dmraid/006-musl-libc.patch
--- a/include/dmraid/misc.h
+++ b/include/dmraid/misc.h
@@ -10,6 +10,7 @@
#ifndef _MISC_H_
#define _MISC_H_
+#include <fcntl.h>
#define DM_ASSERT(__cond) do { if (!(__cond)) { printf("ASSERT file:%s line:%d fuction:%s cond: %s\n", __FILE__, __LINE__, __FUNCTION__, #__cond); } } while(0);
--- a/lib/device/scan.c
+++ b/lib/device/scan.c
@@ -10,6 +10,7 @@
# include <dirent.h>
# include <paths.h>
#else
+# include <paths.h>
# include <dirent.h>
# include <mntent.h>
#endif