summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--glib/gi18n.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ad4734b1e..83e2bd598 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-13 Kjartan Maraas <kmaraas@gnome.org>
+
+ * glib/gi18n.c: #include <locale.h> to fix the build.
+
2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
* glib/gi18n.c (g_i18n_init): Coding convention fix. Space between
diff --git a/glib/gi18n.c b/glib/gi18n.c
index fd22c2b0b..471e5cb85 100644
--- a/glib/gi18n.c
+++ b/glib/gi18n.c
@@ -28,7 +28,8 @@
#include "galias.h"
#include "gmessages.h"
#include "galloca.h"
-#include "string.h"
+#include <string.h>
+#include <locale.h>
static gboolean g_should_translate = TRUE;