$NetBSD: patch-ac,v 1.4 2004/09/16 17:16:18 minskim Exp $ --- mfs.c.orig 1994-06-22 09:24:51.000000000 -0500 +++ mfs.c @@ -319,17 +319,24 @@ TODO: #include #include #include +#if !__STDC__ #include +#endif -#ifdef SOLARIS +#if defined(SOLARIS) || (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) #include #include #endif #if defined(SGI) || defined(RS6000) -#include +# include #else -#include +# include +# if BSD >= 199103 +# include +# else +# include +# endif /* new BSD */ #endif @@ -768,7 +775,7 @@ get_unix_attr(int mode, int attr) int get_disk_space(char *cwd, int *free, int *total) { -#ifdef SOLARIS +#if defined(SOLARIS) || (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) struct statvfs fsbuf; if (statvfs(cwd, &fsbuf) >= 0) #else