$NetBSD: patch-ak,v 1.1 2004/05/31 02:18:44 kim Exp $ --- include/filesys.h.orig 1999-08-04 11:57:31.000000000 -0400 +++ include/filesys.h 2004-05-30 22:13:44.000000000 -0400 @@ -104,10 +104,12 @@ # include typedef struct statfs statfs_t; # define f_bavail f_bfree -# elif defined(SVR4) +# elif defined(SVR4) || STATFS_TYPE == STATFS_SVR4 # include typedef struct statvfs statfs_t; # define statfs(mp,sb) statvfs(mp,sb) +# define getfsstat(buf,sz,fl) getvfsstat(buf,sz,fl) +# define f_flags f_flag # elif STATFS_TYPE == STATFS_44BSD || STATFS_TYPE == STATFS_OSF1 typedef struct statfs statfs_t; # else