X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fstat.h;h=5e339d5caeb05a2bb11debc4810d9115e267b753;hb=8e092217dd92ad3e95257255602c711b3304e38f;hp=ec69f54d8ef975592e041c2a740313f9900acd97;hpb=4a19634f07821cf4ef0e9a1d060e148dd2a429fd;p=musl 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