You've already forked termux-packages
mirror of
https://github.com/izzy2lost/termux-packages.git
synced 2026-03-26 17:00:19 -07:00
15 lines
300 B
Diff
15 lines
300 B
Diff
https://github.com/termux/termux-packages/issues/15852
|
|
|
|
--- a/src/hostid.c
|
|
+++ b/src/hostid.c
|
|
@@ -73,6 +73,9 @@
|
|
usage (EXIT_FAILURE);
|
|
}
|
|
|
|
+#ifdef __ANDROID__
|
|
+# define gethostid() (0L)
|
|
+#endif
|
|
id = gethostid ();
|
|
|
|
/* POSIX says gethostid returns a "32-bit identifier" but is silent
|