diff options
author | Mike Ruprecht <cmaiku@gmail.com> | 2018-12-08 21:59:14 -0600 |
---|---|---|
committer | Mike Ruprecht <cmaiku@gmail.com> | 2018-12-08 21:59:14 -0600 |
commit | 459f898cdcb3e71284152f0304c5d3c927d67915 (patch) | |
tree | 7c4d11039a8a036f95052ccde75c6b0f651bd3e9 /finch/libfinch.c | |
parent | b9952a252de791ad6a5e1a72a3cc7a77f4482cdd (diff) | |
download | pidgin-459f898cdcb3e71284152f0304c5d3c927d67915.tar.gz |
Include 'locale.h' directly in files which use setlocale()
In preparation for making the 'nls' build option only enable/disable
building the po/ directory, this patch includes 'locale.h' in files
which use it directly.
Diffstat (limited to 'finch/libfinch.c')
-rw-r--r-- | finch/libfinch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/finch/libfinch.c b/finch/libfinch.c index d0f938c67c..ec5e2e7118 100644 --- a/finch/libfinch.c +++ b/finch/libfinch.c @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #include <internal.h> +#include <locale.h> #include "finch.h" #include "account.h" @@ -156,11 +157,9 @@ init_libpurple(int argc, char **argv) {NULL} }; -#ifdef ENABLE_NLS bindtextdomain(PACKAGE, PURPLE_LOCALEDIR); bind_textdomain_codeset(PACKAGE, "UTF-8"); textdomain(PACKAGE); -#endif setlocale(LC_ALL, ""); |