diff options
Diffstat (limited to 'sysdeps/posix/euidaccess.c')
-rw-r--r-- | sysdeps/posix/euidaccess.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/posix/euidaccess.c b/sysdeps/posix/euidaccess.c index feaa9a2ed3..e50bdfbb8c 100644 --- a/sysdeps/posix/euidaccess.c +++ b/sysdeps/posix/euidaccess.c @@ -78,6 +78,16 @@ extern int errno; #define R_OK 4 #endif +#if !defined (S_IROTH) && defined (R_OK) +# define S_IROTH R_OK +#endif +#if !defined (S_IWOTH) && defined (W_OK) +# define S_IWOTH W_OK +#endif +#if !defined (S_IXOTH) && defined (X_OK) +# define S_IXOTH X_OK +#endif + #ifdef _LIBC |