From d17ad171c9a88da669e2815de1666f65dafef1e3 Mon Sep 17 00:00:00 2001 From: Thijs Vermeir Date: Wed, 7 Apr 2010 13:47:02 +0200 Subject: [PATCH] build: fix compiler warnings fix warnings for all plugins that use: setlocale (LC_ALL... --- gst-libs/gst/gst-i18n-plugin.h | 2 ++ gst/avi/gstavi.c | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/gst-i18n-plugin.h b/gst-libs/gst/gst-i18n-plugin.h index dc16d47e66..fe597d2292 100644 --- a/gst-libs/gst/gst-i18n-plugin.h +++ b/gst-libs/gst/gst-i18n-plugin.h @@ -28,6 +28,8 @@ #ifdef ENABLE_NLS +#include + #include "gettext.h" /* included with gettext distribution and copied */ /* we want to use shorthand _() for translating and N_() for marking */ diff --git a/gst/avi/gstavi.c b/gst/avi/gstavi.c index bedc50b25f..38ef65088b 100644 --- a/gst/avi/gstavi.c +++ b/gst/avi/gstavi.c @@ -29,10 +29,6 @@ #include "gstavimux.h" #include "gstavisubtitle.h" -#ifdef ENABLE_NLS -#include -#endif /* ENABLE_NLS */ - static gboolean plugin_init (GstPlugin * plugin) {