mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-02 19:15:59 +00:00
12 lines
288 B
Diff
12 lines
288 B
Diff
--- 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>
|