X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fsys%2Fstat.h;fp=include%2Fsys%2Fstat.h;h=14a5424bb2bcf40944bbb53b094b43e25e91e6c6;hp=5d50ae76f7a703ce9e2940992dd159983cd670a0;hb=419ae6d5c95629d3ebaff6f1880d52cb027ba924;hpb=7b5467cbae266d9cf91404a13c9b6b6e1d9b8204 diff --git a/include/sys/stat.h b/include/sys/stat.h index 5d50ae76..14a5424b 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -90,7 +90,7 @@ 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