--- include/conf.h.org Thu Jul 25 07:20:20 2002 +++ include/conf.h Thu Sep 5 22:13:54 2002 @@ -254,6 +254,11 @@ extern int optopt; #endif +#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) +#define HAVE_SYS_VFS_H +#define CHECK_FREEBSD +#endif + /* GNU HURD (and maybe others) do not define MAXPATHLEN */ #ifndef MAXPATHLEN #define MAXPATHLEN 1024 --- src/support.c.org Thu Aug 15 01:17:35 2002 +++ src/support.c Thu Sep 5 22:15:14 2002 @@ -69,7 +69,10 @@ #include -#ifdef HAVE_SYS_STATVFS_H +#ifdef CHECK_FREEBSD +# include +# include +#elif defined(HAVE_SYS_STATVFS_H) # include #elif defined(HAVE_SYS_VFS_H) # include