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