aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mount.c3
-rw-r--r--lib/mount_bsd.c2
-rw-r--r--lib/mount_util.c5
3 files changed, 7 insertions, 3 deletions
diff --git a/lib/mount.c b/lib/mount.c
index 1f1ee86..3990243 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -25,7 +25,8 @@
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/wait.h>
-#include <sys/mount.h>
+
+#include "fuse_mount_compat.h"
#ifdef __NetBSD__
#include <perfuse.h>
diff --git a/lib/mount_bsd.c b/lib/mount_bsd.c
index 35f3634..73abc67 100644
--- a/lib/mount_bsd.c
+++ b/lib/mount_bsd.c
@@ -14,7 +14,7 @@
#include "fuse_opt.h"
#include <sys/param.h>
-#include <sys/mount.h>
+#include "fuse_mount_compat.h"
#include <sys/stat.h>
#include <sys/wait.h>
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__)