X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fsys%2Fstat.h;fp=include%2Fsys%2Fstat.h;h=5e339d5caeb05a2bb11debc4810d9115e267b753;hp=ec69f54d8ef975592e041c2a740313f9900acd97;hb=7ecab79f581c9bd2369dc00a7649bb5af9089302;hpb=e514228043c2618f925bcfe8db71b0ff4e2b2113 diff --git a/include/sys/stat.h b/include/sys/stat.h index ec69f54d..5e339d5c 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -90,6 +90,12 @@ int utimensat(int, const char *, const struct timespec [2], int); int lchmod(const char *, mode_t); #endif +#ifdef _GNU_SOURCE +#define S_IREAD S_IRUSR +#define S_IWRITE S_IWUSR +#define S_IEXEC S_IXUSR +#endif + #ifdef __cplusplus } #endif