--- a/bench/bench.c
+++ b/bench/bench.c
@@ -38,7 +38,7 @@
   #include <sys/time.h>
 #elif defined(__unix__) || defined(__HAIKU__)
   #include <unistd.h>
-  #if defined(__GLIBC__)
+  #if defined(__GLIBC__) || defined(__ANDROID__)
     #include <time.h>
   #else
     #include <sys/time.h>
