mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
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
This commit is contained in:
parent
c8c961ac81
commit
1aec7a3d72
2 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
|
|
||||||
|
#include <locale.h> /* some people need it and some people don't */
|
||||||
#include "gettext.h" /* included with gettext distribution and copied */
|
#include "gettext.h" /* included with gettext distribution and copied */
|
||||||
|
|
||||||
/* we want to use shorthand _() for translating and N_() for marking */
|
/* we want to use shorthand _() for translating and N_() for marking */
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
|
|
||||||
|
#include <locale.h> /* some people need it and some people don't */
|
||||||
#include "gettext.h" /* included with gettext distribution and copied */
|
#include "gettext.h" /* included with gettext distribution and copied */
|
||||||
|
|
||||||
/* we want to use shorthand _() for translating and N_() for marking */
|
/* we want to use shorthand _() for translating and N_() for marking */
|
||||||
|
|
Loading…
Reference in a new issue