diff -uNr xhost-1.0.8/xhost.c xhost-1.0.8.mod/xhost.c --- xhost-1.0.8/xhost.c 2019-02-20 00:51:09.000000000 +0200 +++ xhost-1.0.8.mod/xhost.c 2019-10-26 16:06:33.210426710 +0300 @@ -160,7 +160,7 @@ } #endif /* NEEDSOCKETS */ -#if defined(__CYGWIN__) || defined(WIN32) +#if defined(__CYGWIN__) || defined(WIN32) || defined(__ANDROID__) void sethostent(int x) {}