diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-12 12:01:20 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-12 12:01:20 -0400 |
commit | 7ecab79f581c9bd2369dc00a7649bb5af9089302 (patch) | |
tree | 03dbd0259db844af08af7ffa25b1041beaeadf74 /include | |
parent | e514228043c2618f925bcfe8db71b0ff4e2b2113 (diff) | |
download | musl-7ecab79f581c9bd2369dc00a7649bb5af9089302.tar.gz musl-7ecab79f581c9bd2369dc00a7649bb5af9089302.tar.bz2 musl-7ecab79f581c9bd2369dc00a7649bb5af9089302.tar.xz musl-7ecab79f581c9bd2369dc00a7649bb5af9089302.zip |
add some traditional aliases to stat.h
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/stat.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |