$NetBSD: patch-ac,v 1.2 2005/03/23 14:02:52 adam Exp $ --- transport.hxx.orig 2005-02-22 19:43:11.000000000 +0000 +++ transport.hxx @@ -441,7 +441,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; @@ -637,7 +641,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;