summaryrefslogtreecommitdiff
path: root/user/dmraid/scan-under-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/dmraid/scan-under-musl.patch')
-rw-r--r--user/dmraid/scan-under-musl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/dmraid/scan-under-musl.patch b/user/dmraid/scan-under-musl.patch
new file mode 100644
index 000000000..bbfe9b3d7
--- /dev/null
+++ b/user/dmraid/scan-under-musl.patch
@@ -0,0 +1,12 @@
+--- dmraid/lib/device/scan.c.old 2010-10-27 11:31:47.000000000 +0000
++++ dmraid/lib/device/scan.c 2018-07-15 01:03:10.160000000 +0000
+@@ -5,7 +5,8 @@
+ * See file LICENSE at the top of this source tree for license information.
+ */
+
+-#ifdef __KLIBC__
++#ifndef __GLIBC__
+ # define __KERNEL_STRICT_NAMES
+ # include <dirent.h>
++# include <mntent.h>
+ # include <paths.h>