$NetBSD: patch-ac,v 1.6 2005/09/06 08:10:58 abs Exp $ --- ark/arkutils.cpp.orig 2003-11-30 20:50:36.000000000 +1100 +++ ark/arkutils.cpp 2004-05-04 22:57:13.000000000 +1000 @@ -44,6 +44,12 @@ // for statfs: #ifdef BSD4_4 #include +#ifdef __NetBSD__ +#if __NetBSD_Version__ >= 299000900 /* 2.99.9 */ +#include +#define STATFS statvfs +#endif +#endif #elif defined(__linux__) #include #elif defined(__sun)