X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fstatfs.h;h=c1cbe9e082685b0c9e40e18b8941dbfdd3a8e9f2;hb=419ae6d5c95629d3ebaff6f1880d52cb027ba924;hp=05c9b13049fd440992b94eca851fa12a99977c44;hpb=32b82cf5cdc282839cc02c57a50c991e376f0348;p=musl diff --git a/include/sys/statfs.h b/include/sys/statfs.h index 05c9b130..c1cbe9e0 100644 --- a/include/sys/statfs.h +++ b/include/sys/statfs.h @@ -1,6 +1,10 @@ #ifndef _SYS_STATFS_H #define _SYS_STATFS_H +#ifdef __cplusplus +extern "C" { +#endif + #include typedef struct { @@ -12,4 +16,15 @@ typedef struct { int statfs (const char *, struct statfs *); int fstatfs (int, struct statfs *); +#ifdef _LARGEFILE64_SOURCE +#define statfs64 statfs +#define fstatfs64 fstatfs +#define fsblkcnt64_t fsblkcnt_t +#define fsfilcnt64_t fsfilcnt_t +#endif + +#ifdef __cplusplus +} +#endif + #endif