aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mount_util.c
diff options
context:
space:
mode:
authorGiulio Benetti <giulio.benetti@benettiengineering.com>2023-04-06 13:37:57 +0200
committerGitHub <noreply@github.com>2023-04-06 12:37:57 +0100
commitc60a90b73971706f525fc7e3289291636f50caa5 (patch)
tree7bc697ed727a8e650a0106ec34df9a4912648e8d /lib/mount_util.c
parent4cf25c27f89754e0e0310cb430dee0ddd9493c70 (diff)
downloadlibfuse-c60a90b73971706f525fc7e3289291636f50caa5.tar.gz
Fix MS_LAZYTIME not defined on uclibc and move all MS_* and UMOUNT_* (#753)
as well as <sys/mount.h> inclusion to new fuse_mount_compat.h file. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Diffstat (limited to 'lib/mount_util.c')
-rw-r--r--lib/mount_util.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mount_util.c b/lib/mount_util.c
index daf7b5e..8027a2e 100644
--- a/lib/mount_util.c
+++ b/lib/mount_util.c
@@ -10,6 +10,7 @@
#include "fuse_config.h"
#include "mount_util.h"
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
@@ -27,7 +28,9 @@
#endif
#include <sys/stat.h>
#include <sys/wait.h>
-#include <sys/mount.h>
+
+#include "fuse_mount_compat.h"
+
#include <sys/param.h>
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)