$NetBSD: patch-ac,v 1.1 2004/09/21 17:15:35 jmmv Exp $ --- transport.hxx.orig 2004-02-10 11:36:36.000000000 +0100 +++ transport.hxx @@ -312,7 +312,11 @@ public: // mounted, so that it could as well just return 0; int umount(int f=-1) { struct stat fsb,msb; +#if defined(HAVE_STATVFS) && defined(__NetBSD__) + struct statvfs *mntbuf; +#else struct statfs *mntbuf; +#endif int ret=0,mntsize,i; if (f==-1) f=fd; @@ -490,7 +494,11 @@ public: } int umount(int f=-1) { struct stat fsb,msb; +#if defined(HAVE_STATVFS) && defined(__NetBSD__) + struct statvfs *mntbuf; +#else struct statfs *mntbuf; +#endif int ret=0,mntsize,i; if (f==-1) f=fd;