diff --git a/src/misc.c b/src/misc.c --- a/src/misc.c (revision 9941e89f307e73352d887cac14e4e26b481a0a82) +++ b/src/misc.c (date 1675868320486) @@ -24,6 +24,11 @@ #include "config.h" +#ifdef __ANDROID__ +#define _S_IWRITE S_IWUSR +#define S_IWRITE S_IWUSR +#endif + #ifndef _WIN32 /* This is needed for a standard getpwuid_r on opensolaris */ #define _POSIX_PTHREAD_SEMANTICS