--- rxvt-unicode/src/main.C 2012/01/18 12:26:59 1.368 +++ rxvt-unicode/src/main.C 2012/01/19 15:44:49 1.371 @@ -38,9 +38,9 @@ #include -#include -#include -#include +#include +#include +#include #include @@ -48,9 +48,7 @@ # define X_LOCALE # include #else -# ifdef HAVE_SETLOCALE -# include -# endif +# include #endif struct termios rxvt_term::def_tio; @@ -1530,10 +1528,8 @@ if (Input_Context) return; -#if defined(HAVE_XSETLOCALE) || defined(HAVE_SETLOCALE) if (rs[Rs_imLocale]) SET_LOCALE (rs[Rs_imLocale]); -#endif p = rs[Rs_inputMethod]; if (p && *p) @@ -1570,11 +1566,9 @@ if (im_get_ic ("@im=none")) goto done; -done: ; -#if defined(HAVE_XSETLOCALE) || defined(HAVE_SETLOCALE) +done: if (rs[Rs_imLocale]) SET_LOCALE (locale); -#endif } void