mirror of
https://github.com/termux/termux-packages.git
synced 2025-02-22 15:47:26 +00: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
|