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