aboutsummaryrefslogtreecommitdiff
path: root/src/logdiag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logdiag.c')
-rw-r--r--src/logdiag.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/logdiag.c b/src/logdiag.c
index 20783b1..8191d7f 100644
--- a/src/logdiag.c
+++ b/src/logdiag.c
@@ -9,6 +9,7 @@
*/
#include <gtk/gtk.h>
+#include <locale.h>
#include "config.h"
@@ -20,13 +21,11 @@ main (int argc, char *argv[])
{
GtkWidget *wnd;
-#ifdef HAVE_GETTEXT
setlocale (LC_ALL, "");
bindtextdomain (GETTEXT_DOMAIN, GETTEXT_DIRNAME);
bind_textdomain_codeset (GETTEXT_DOMAIN, "UTF-8");
textdomain (GETTEXT_DOMAIN);
-#endif
/* For custom command line arguments, see:
* http://git.gnome.org/browse/glade3/tree/src/main.c