diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2012-12-12 12:05:32 +0100 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-12-12 23:05:55 -0800 |
commit | 9a395d2db3a88d4ba479dfe0f5ad3769efee7f3a (patch) | |
tree | 6acc5816e6d594126488afe1c7b310c90536e5f0 /xlators | |
parent | 06d4cced24f9854e3439f03a0c940adc5306de48 (diff) |
NetBSD MS_RDONLY portability build fix
NetBSD uses MNT_RDONLY where Linux uses MS_RDONLY
BUG: 815227
Change-Id: I8d78831f07e575b215aabc46eaa66e5e277bda0e
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/4299
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 68f9e754116..974969eb110 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -10,6 +10,11 @@ #include <sys/wait.h> #include "fuse-bridge.h" +#include "mount-gluster-compat.h" + +#ifdef __NetBSD__ +#undef open /* in perfuse.h, pulled from mount-gluster-compat.h */ +#endif static int gf_fuse_conn_err_log; static int gf_fuse_xattr_enotsup_log; |