summaryrefslogtreecommitdiff
path: root/filesystems/fuse-encfs/patches/patch-ab
blob: 0f01729baca36fb54e23438606cab9e8ac3b99e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ab,v 1.1.1.1 2007/03/01 00:34:14 xtraeme Exp $

--- encfs/encfs.h.orig	2007-03-01 01:04:54.000000000 +0100
+++ encfs/encfs.h	2007-03-01 01:05:30.000000000 +0100
@@ -48,7 +48,11 @@
 	struct fuse_file_info *info);
 int encfs_write(const char *path, const char *buf, size_t size, off_t offset,
 	struct fuse_file_info *info);
+#ifndef __NetBSD__
 int encfs_statfs(const char *, struct statfs *fst);
+#else
+int encfs_statfs(const char *, struct statvfs *fst);
+#endif
 int encfs_fsync(const char *path, int flags, struct fuse_file_info *info);
 
 #ifdef HAVE_XATTR