$NetBSD: patch-ak,v 1.1 2004/08/10 14:18:44 ben Exp $ --- src/df.c.orig 2004-04-29 17:01:02.000000000 -0400 +++ src/df.c 2004-08-09 21:28:39.000000000 -0400 @@ -49,5 +49,5 @@ { -#if defined SOLARIS || defined OSF || defined UNIXWARE +#if defined SOLARIS || defined OSF || defined UNIXWARE || (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) struct statvfs buf; #elif defined ULTRIX @@ -71,5 +71,5 @@ return CF_INFINITY; } -#elif defined SOLARIS || defined OSF || defined UNIXWARE +#elif defined SOLARIS || defined OSF || defined UNIXWARE || (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) if (statvfs (file, &buf) != 0) { @@ -78,5 +78,5 @@ return CF_INFINITY; } -#elif defined IRIX || defined SCO || defined CFCRAY || defined UNIXWARE +#elif defined IRIX || defined SCO || defined CFCRAY || defined UNIXWARE || (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) if (statfs (file, &buf, sizeof (struct statfs), 0) != 0) {