X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fstatfs.h;h=c1cbe9e082685b0c9e40e18b8941dbfdd3a8e9f2;hb=17361482108e2a8757dc4aa69ed36b002251a08f;hp=51ef30a1b5450206550ad7dc42080b6398d4f6a2;hpb=114c80f1416617399c85c2df09dd307532399903;p=musl diff --git a/include/sys/statfs.h b/include/sys/statfs.h index 51ef30a1..c1cbe9e0 100644 --- a/include/sys/statfs.h +++ b/include/sys/statfs.h @@ -1,10 +1,14 @@ #ifndef _SYS_STATFS_H #define _SYS_STATFS_H +#ifdef __cplusplus +extern "C" { +#endif + #include typedef struct { - int val[2]; + int __val[2]; } fsid_t; #include @@ -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