Fix for systems with no statvfs.h and statfs defined in sys/statfs.h

svn path=/trunk/boinc/; revision=2729
This commit is contained in:
Eric J. Korpela 2003-12-01 23:28:46 +00:00
parent 84af5827c4
commit be1a0cd695
1 changed files with 9 additions and 1 deletions

View File

@ -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 <stdio.h>
#include <fcntl.h>
@ -48,6 +53,9 @@
#ifdef HAVE_SYS_STATVFS_H
#include <sys/statvfs.h>
#define STATFS statvfs
#elif defined(HAVE_SYS_STATFS_H)
#include <sys/statfs.h>
#define STATFS statfs
#else
#define STATFS statfs
#endif