diff -u -r ../angband-master/src/main.c ./src/main.c --- ../angband-master/src/main.c 2017-06-25 04:10:53.000000000 +0000 +++ ./src/main.c 2017-07-16 16:38:58.187988465 +0000 @@ -35,7 +35,9 @@ * locale junk */ #include "locale.h" +#ifndef __ANDROID__ #include "langinfo.h" +#endif /** * Some machines have a "main()" function in their "main-xxx.c" file, @@ -466,9 +468,11 @@ ANGBAND_SYS = mstr; if (setlocale(LC_CTYPE, "")) { +#ifndef __ANDROID__ /* Require UTF-8 */ if (strcmp(nl_langinfo(CODESET), "UTF-8") != 0) quit("Angband requires UTF-8 support"); +#endif } /* Try the modules in the order specified by modules[] */