From 1aec7a3d72051ed28911e4732a527b81ecb4939b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 5 Jan 2012 00:30:30 +0000 Subject: [PATCH] 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 --- gst/gst-i18n-app.h | 1 + gst/gst-i18n-lib.h | 1 + 2 files changed, 2 insertions(+) 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 /* 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 /* 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 */