X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fstatvfs.h;h=0a3ac9e098906a374477e2060bfc490761f7d2ab;hb=d426b045332718ae6d42237303d657fd97c51455;hp=b9f72b7ee1fa39dded79e8fabcaedacc94775b0a;hpb=3ed8c9f2df0b5f0bfe1006037c46d4f32ec6ca7b;p=musl diff --git a/include/sys/statvfs.h b/include/sys/statvfs.h index b9f72b7e..0a3ac9e0 100644 --- a/include/sys/statvfs.h +++ b/include/sys/statvfs.h @@ -41,6 +41,13 @@ int fstatvfs (int, struct statvfs *); #define ST_NOATIME 1024 #define ST_NODIRATIME 2048 +#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) +#define statvfs64 statvfs +#define fstatvfs64 fstatvfs +#define fsblkcnt64_t fsblkcnt_t +#define fsfilcnt64_t fsfilcnt_t +#endif + #ifdef __cplusplus } #endif