$NetBSD: patch-ag,v 1.3 2005/09/08 22:37:54 abs Exp $ --- cattach.c.orig 2004-07-25 21:55:56.000000000 +1000 +++ cattach.c @@ -81,8 +81,12 @@ main(argc,argv) struct fs_data sfb; #define f_blocks fd_req.btot #else +#if defined(__NetBSD_Version__) && __NetBSD_Version__ >= 299000900 + struct statvfs sfb; +#else struct statfs sfb; #endif +#endif char *flg; int ciph; FILE *fp;