summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.c b/util.c
index 6811b6d..2e36b33 100644
--- a/util.c
+++ b/util.c
@@ -479,7 +479,8 @@ time_t get_modification_time(char *path)
#ifdef __APPLE__
return st.st_mtimespec.tv_sec;
#else
- return st.st_mtim.tv_sec;
+ //Android's Bionic doesn't support the new style so we'll use the old one instead
+ return st.st_mtime;
#endif
}