diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/system.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h index b81a595f5..b3e12785a 100644 --- a/src/system.h +++ b/src/system.h @@ -68,6 +68,14 @@ # define S_ISDOOR(m) (((m) & S_IFMT) == S_IFDOOR) #endif +#if !S_IWUSR +# if S_IWRITE +# define S_IWUSR S_IWRITE +# else +# define S_IWUSR 00200 +# endif +#endif + #ifndef S_IEXEC # define S_IEXEC S_IXUSR #endif |