Define S_IREAD i S_IWRITE for Android.
diff --git a/tests-clar/odb/loose.c b/tests-clar/odb/loose.c
index 9539bb2..eb6b788 100644
--- a/tests-clar/odb/loose.c
+++ b/tests-clar/odb/loose.c
@@ -3,6 +3,11 @@
#include "posix.h"
#include "loose_data.h"
+#ifdef __ANDROID_API__
+# define S_IREAD S_IRUSR
+# define S_IWRITE S_IWUSR
+#endif
+
static void write_object_files(object_data *d)
{
int fd;