mirror of https://github.com/BOINC/boinc.git
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:
parent
84af5827c4
commit
be1a0cd695
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue