X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fstat.h;h=2a7ce233661ae9b43af88c799982ae3c0ccd5a1c;hb=d426b045332718ae6d42237303d657fd97c51455;hp=5d50ae76f7a703ce9e2940992dd159983cd670a0;hpb=f0b85fd926c5a381416c94be62e7bc20d9fdbdb1;p=musl diff --git a/include/sys/stat.h b/include/sys/stat.h index 5d50ae76..2a7ce233 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -90,13 +90,13 @@ int utimensat(int, const char *, const struct timespec [2], int); int lchmod(const char *, mode_t); #endif -#ifdef _GNU_SOURCE +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define S_IREAD S_IRUSR #define S_IWRITE S_IWUSR #define S_IEXEC S_IXUSR #endif -#ifdef _LARGEFILE64_SOURCE +#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) #define stat64 stat #define fstat64 fstat #define lstat64 lstat