gst: include locale.h before any other i18n headers
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 5 Jan 2012 00:30:30 +0000 (00:30 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 5 Jan 2012 00:32:42 +0000 (00:32 +0000)
This is also how we do it in -base.

https://bugzilla.gnome.org/show_bug.cgi?id=667290

gst/gst-i18n-app.h
gst/gst-i18n-lib.h

index 06339b8..b579c9d 100644 (file)
@@ -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 */
index e4eb45e..1902196 100644 (file)
@@ -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 */