1
0
mirror of https://github.com/termux/termux-packages synced 2024-07-01 19:47:06 +00:00
termux-packages/packages/ckermit/ckcmai.c.patch
2021-12-25 20:01:22 +01:00

13 lines
302 B
Diff

--- a/ckcmai.c
+++ b/ckcmai.c
@@ -3157,6 +3157,9 @@
/* try to make a random unsigned int to feed srand() */
#ifndef VMS
/* time.h and MultiNet do not get along */
+#ifdef __ANDROID__
+ time_t time(time_t *);
+#endif
c = time(NULL);
#endif /* VMS */
c *= getpid();