--- a/src/util/rand.c +++ b/src/util/rand.c @@ -14,6 +14,10 @@ # include #endif +#if defined __ANDROID__ && __ANDROID_API__ < 29 +int getloadavg(double[], int); +#endif + static uint64_t state[4]; static git_mutex state_lock;