blob: d43ed6354718cae641a87b2cd5079ed288ed0582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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
|