X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fstatfs.h;h=d8128a25894c2b647fbd4f673efa927e58737511;hb=6fb88a955a112223d3304bdaedc067771024725b;hp=f5239d8f31fa4700d02c9c06cdda4554937b0bfb;hpb=3ed8c9f2df0b5f0bfe1006037c46d4f32ec6ca7b;p=musl diff --git a/include/sys/statfs.h b/include/sys/statfs.h index f5239d8f..d8128a25 100644 --- a/include/sys/statfs.h +++ b/include/sys/statfs.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include + #include typedef struct { @@ -16,6 +18,13 @@ typedef struct { int statfs (const char *, struct statfs *); int fstatfs (int, struct statfs *); +#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) +#define statfs64 statfs +#define fstatfs64 fstatfs +#define fsblkcnt64_t fsblkcnt_t +#define fsfilcnt64_t fsfilcnt_t +#endif + #ifdef __cplusplus } #endif