$NetBSD: patch-aj,v 1.1.1.1 2005/12/30 23:03:06 agc Exp $ --- io/open.c 2005/12/30 11:07:04 1.1 +++ io/open.c 2005/12/30 11:08:47 @@ -584,7 +584,11 @@ { struct xfs_fsop_counts fscounts; struct xfs_fsop_geom fsgeo; +#if (defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900)) + struct statvfs st; +#else struct statfs st; +#endif printf(_("fd.path = \"%s\"\n"), file->name); if (platform_fstatfs(file->fd, &st) < 0) {