--- 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>