summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-01-05 00:30:30 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-01-05 00:32:42 +0000
commit1aec7a3d72051ed28911e4732a527b81ecb4939b (patch)
tree2acfce6cf1650668e12c3bdd68be63693f20230a
parentc8c961ac816ec911f00ec06852779e16d181432d (diff)
gst: include locale.h before any other i18n headers
This is also how we do it in -base. https://bugzilla.gnome.org/show_bug.cgi?id=667290
-rw-r--r--gst/gst-i18n-app.h1
-rw-r--r--gst/gst-i18n-lib.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/gst/gst-i18n-app.h b/gst/gst-i18n-app.h
index 06339b8bbb..b579c9d7a1 100644
--- a/gst/gst-i18n-app.h
+++ b/gst/gst-i18n-app.h
@@ -25,6 +25,7 @@
#ifdef ENABLE_NLS
+#include <locale.h> /* some people need it and some people don't */
#include "gettext.h" /* included with gettext distribution and copied */
/* we want to use shorthand _() for translating and N_() for marking */
diff --git a/gst/gst-i18n-lib.h b/gst/gst-i18n-lib.h
index e4eb45ee74..1902196d68 100644
--- a/gst/gst-i18n-lib.h
+++ b/gst/gst-i18n-lib.h
@@ -29,6 +29,7 @@
#ifdef ENABLE_NLS
+#include <locale.h> /* some people need it and some people don't */
#include "gettext.h" /* included with gettext distribution and copied */
/* we want to use shorthand _() for translating and N_() for marking */