--- a/porttime/ptlinux.c
+++ b/porttime/ptlinux.c
@@ -31,7 +31,9 @@
 #include "porttime.h"
 #include "time.h"
 #include "sys/resource.h"
+#ifndef __ANDROID__
 #include "sys/timeb.h"
+#endif
 #include "pthread.h"
 
 #define TRUE 1
