From a2e3e32235f40f135e34906db887428a3dc52e5a Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 27 Aug 2010 13:27:18 +0000 Subject: Make locale options non-optional. Everyone's expected to have locale.h nowadays. --- vchat-client.c | 3 --- vchat-protocol.c | 4 ---- 2 files changed, 7 deletions(-) diff --git a/vchat-client.c b/vchat-client.c index 05e0b3d..c6fa34d 100755 --- a/vchat-client.c +++ b/vchat-client.c @@ -26,9 +26,6 @@ #include #include #include -#ifndef NO_LOCALE -#include -#endif #include "vchat.h" /* version of this module */ diff --git a/vchat-protocol.c b/vchat-protocol.c index ef035fe..1a29b07 100755 --- a/vchat-protocol.c +++ b/vchat-protocol.c @@ -26,10 +26,8 @@ #include #include #include -#ifndef NO_LOCALE #include #include -#endif /* local includes */ #include "vchat.h" @@ -243,11 +241,9 @@ pubthoughts (char *message) static void serverlogin (char *message) { -#ifndef NO_LOCALE int utf8=!strcmp(nl_langinfo(CODESET), "UTF-8"); if (utf8) networkoutput(".e utf8"); -#endif } /* parse and handle an idle message -- cgit v1.2.3