X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fstatfs.h;h=a5a4db9cf712f40e5d95ba8f52b2a233425ec1a4;hb=ac5d085691e5a797a21ae36111aa0b274e1cf4ba;hp=f5239d8f31fa4700d02c9c06cdda4554937b0bfb;hpb=3ed8c9f2df0b5f0bfe1006037c46d4f32ec6ca7b;p=musl diff --git a/include/sys/statfs.h b/include/sys/statfs.h index f5239d8f..a5a4db9c 100644 --- a/include/sys/statfs.h +++ b/include/sys/statfs.h @@ -16,6 +16,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