$NetBSD: patch-ac,v 1.1 2004/05/04 23:36:16 minskim Exp $

--- sysdeps/common/mountlist.c.orig	2003-10-20 09:29:03.000000000 -0500
+++ sysdeps/common/mountlist.c
@@ -334,7 +334,11 @@ read_filesystem_list (need_fs_type, all_
 
 #ifdef MOUNTED_GETMNTINFO	/* 4.4BSD.  */
   {
+#ifdef STAT_STATVFS
+    struct statvfs *fsp;
+#else
     struct statfs *fsp;
+#endif
     int entries;
 
     entries = getmntinfo (&fsp, MNT_NOWAIT);
