summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/umount.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/umount.c')
-rw-r--r--libc/sysdeps/linux/common/umount.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/umount.c b/libc/sysdeps/linux/common/umount.c
index f524ea1da..c62f9fb7c 100644
--- a/libc/sysdeps/linux/common/umount.c
+++ b/libc/sysdeps/linux/common/umount.c
@@ -8,6 +8,8 @@
*/
#include <sys/syscall.h>
+
+#if defined __USE_GNU
#include <sys/mount.h>
/* arch provides umount() syscall */
@@ -36,3 +38,4 @@ int umount(const char *special_file)
}
#endif
+#endif