mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 10:02:30 +00:00
fix(posix): statfs() call requires different headers on Darwin or Linux
This commit is contained in:
parent
a3836e5031
commit
5808ac3ad4
1 changed files with 9 additions and 0 deletions
|
|
@ -17,7 +17,16 @@
|
|||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#if defined(WHOA_SYSTEM_LINUX)
|
||||
#include <sys/vfs.h>
|
||||
#endif
|
||||
|
||||
#if defined(WHOA_SYSTEM_MAC)
|
||||
#include <sys/param.h>
|
||||
#include <sys/mount.h>
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#define PATH(name) Blizzard::String::QuickNativePath<BC_FILE_MAX_PATH>(name).ToString()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue