$NetBSD: patch-ab,v 1.2 2004/09/16 17:57:02 minskim Exp $

--- nfs/syscalls.c.orig	1998-06-30 07:24:56.000000000 -0500
+++ nfs/syscalls.c
@@ -19,6 +19,13 @@
 #include <arpa/inet.h>
 #include "my_defines.h"
 
+#ifdef __NetBSD__
+#include <nfs/nfsmount.h>
+#if __NetBSD_Version__ >= 200040000
+#define statfs statvfs
+#endif
+#endif
+
 /* --------------------------- general constants --------------------------- */
 
 #define NFS_TIMEOUT_SECONDS		10	/* nfs timeout in seconds */
