$NetBSD: patch-ad,v 1.9 2004/11/28 22:39:07 atatat Exp $ Incorporate a patch from the author that widens the NETBSDV definition to account for new current versioning system, properly handles the sys/bufq.h mess, adds a bit more to procfs support, and adds ptyfs support. --- dialects/n+obsd/dmnt.c.orig 2004-07-06 15:20:20.000000000 -0400 +++ dialects/n+obsd/dmnt.c @@ -36,6 +36,15 @@ static char *rcsid = "$Id: dmnt.c,v 1.10 #endif +#if defined(NETBSDV) && defined(HASSTATVFS) +/* + * NetBSD needs the statvfs structure to be defined without the + * pre-definition of _KERNEL. + */ + +#include +#endif /* defined(NETBSDV) && defined(HASSTATVFS) */ + #include "lsof.h"