From be1a0cd695e9cda2153ffaede1a65e51e5e649a6 Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Mon, 1 Dec 2003 23:28:46 +0000 Subject: [PATCH] Fix for systems with no statvfs.h and statfs defined in sys/statfs.h svn path=/trunk/boinc/; revision=2729 --- lib/filesys.C | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/filesys.C b/lib/filesys.C index 49682e9c4b..9405c3032c 100755 --- a/lib/filesys.C +++ b/lib/filesys.C @@ -16,7 +16,12 @@ // // Contributor(s): // - +// Revision History: +// $Log$ +// Revision 1.31 2003/12/01 23:28:46 korpela +// Fix for systems with no statvfs.h and statfs defined in sys/statfs.h +// +// #include #include @@ -48,6 +53,9 @@ #ifdef HAVE_SYS_STATVFS_H #include #define STATFS statvfs +#elif defined(HAVE_SYS_STATFS_H) +#include +#define STATFS statfs #else #define STATFS statfs #endif