termux-packages/packages/libgit2/src-rand.c.patch
2022-02-24 02:35:25 +09:00

14 lines
220 B
Diff

--- a/src/rand.c
+++ b/src/rand.c
@@ -74,6 +74,10 @@
#else
+#if defined __ANDROID__ && __ANDROID_API__ < 29
+int getloadavg(double[], int);
+#endif
+
GIT_INLINE(int) getseed(uint64_t *seed)
{
struct timeval tv;