summaryrefslogtreecommitdiffstats
path: root/contrib/fuse-lib/mount-gluster-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fuse-lib/mount-gluster-compat.h')
-rw-r--r--contrib/fuse-lib/mount-gluster-compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/fuse-lib/mount-gluster-compat.h b/contrib/fuse-lib/mount-gluster-compat.h
index 17c11e78920..4fc20623bc9 100644
--- a/contrib/fuse-lib/mount-gluster-compat.h
+++ b/contrib/fuse-lib/mount-gluster-compat.h
@@ -33,6 +33,7 @@
#ifdef __NetBSD__
#include <perfuse.h>
#define umount2(dir, flags) unmount(dir, ((flags) != 0) ? MNT_FORCE : 0)
+#define MS_RDONLY MNT_RDONLY
#endif
#ifdef linux