From 8bdc2890999c850519913be0e829e9ced979ac2f Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Fri, 2 Mar 2012 01:34:16 +0100 Subject: s3: Further fix for bug 8777 --- source3/modules/vfs_default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/modules/vfs_default.c') diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index d81adadfec..fd0ff0aa71 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -111,7 +111,7 @@ static uint32_t vfswrap_fs_capabilities(struct vfs_handle_struct *handle, NTSTATUS status; int ret = -1; -#if defined(DARWINOS) || (defined(BSD) && defined(MNT_RDONLY)) +#if defined(DARWINOS) || (defined(BSD) && defined(BSD_STATVFS_BSIZE)) struct vfs_statvfs_struct statbuf; ZERO_STRUCT(statbuf); sys_statvfs(conn->connectpath, &statbuf); -- cgit