1 diff -u -r ../unrar/filefn.cpp ./filefn.cpp
2 --- ../unrar/filefn.cpp 2013-12-01 09:10:14.000000000 +0100
3 +++ ./filefn.cpp 2014-02-13 00:16:54.000000000 +0100
5 GetFilePath(Name,Root,ASIZE(Root));
7 WideToChar(Root,RootA,ASIZE(RootA));
9 - if (statvfs(*RootA!=0 ? RootA:".",&sfs)!=0)
11 + if (statfs(*RootA!=0 ? RootA:".",&sfs)!=0)
13 int64 FreeSize=sfs.f_bsize;
14 FreeSize=FreeSize*sfs.f_bavail;
15 diff -u -r ../unrar/os.hpp ./os.hpp
16 --- ../unrar/os.hpp 2013-12-01 09:10:14.000000000 +0100
17 +++ ./os.hpp 2014-02-13 00:15:24.000000000 +0100
19 #include <sys/sysctl.h>
22 - #include <sys/statvfs.h>
23 + #include <sys/statfs.h>
25 #if defined(__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined(__APPLE__)