termux-packages/packages/libgit2/src-rand.c.patch

14 lines
220 B
Diff
Raw Normal View History

2022-02-23 18:04:24 +01:00
--- 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;