summaryrefslogblamecommitdiff
path: root/user/dmraid/scan-under-musl.patch
blob: bbfe9b3d7a195af77df31e6f2827faaa4e6c29d5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
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>