$NetBSD: patch-ab,v 1.23 2005/09/08 22:37:53 abs Exp $ --- src/cpu_perc.c.orig 2002-05-02 21:08:34.000000000 +0200 +++ src/cpu_perc.c 2004-05-10 20:22:09.000000000 +0200 @@ -66,7 +66,11 @@ /* find where the proc fs is mounted, some strange people could mount it in another place than /proc, it can even be not mounted at all */ { +#if defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900) + struct statvfs *mntbufp; +#else struct statfs *mntbufp; +#endif int fs_count; int procfs_found = 0;