diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c index 95861e3c5d..e093e715db 100644 --- a/ext/flac/gstflac.c +++ b/ext/flac/gstflac.c @@ -31,7 +31,7 @@ static gboolean plugin_init (GstPlugin * plugin) { -#if ENABLE_NLS +#ifdef ENABLE_NLS GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, LOCALEDIR); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); diff --git a/ext/pulse/plugin.c b/ext/pulse/plugin.c index 58e8ba1a80..beb88488c3 100644 --- a/ext/pulse/plugin.c +++ b/ext/pulse/plugin.c @@ -34,7 +34,7 @@ GST_DEBUG_CATEGORY (pulse_debug); static gboolean plugin_init (GstPlugin * plugin) { -#if ENABLE_NLS +#ifdef ENABLE_NLS GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, LOCALEDIR); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); diff --git a/ext/wavpack/gstwavpack.c b/ext/wavpack/gstwavpack.c index 6045717cb2..b01f443d29 100644 --- a/ext/wavpack/gstwavpack.c +++ b/ext/wavpack/gstwavpack.c @@ -37,7 +37,7 @@ plugin_init (GstPlugin * plugin) { GST_DEBUG_CATEGORY_INIT (wavpack_debug, "wavpack", 0, "Wavpack elements"); -#if ENABLE_NLS +#ifdef ENABLE_NLS GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, LOCALEDIR); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); diff --git a/gst-libs/gst/gettext.h b/gst-libs/gst/gettext.h index 8b262f4cfd..59902b35ee 100644 --- a/gst-libs/gst/gettext.h +++ b/gst-libs/gst/gettext.h @@ -20,7 +20,7 @@ #define _LIBGETTEXT_H 1 /* NLS can be disabled through the configure --disable-nls option. */ -#if ENABLE_NLS +#ifdef ENABLE_NLS /* Get declarations of GNU message catalog functions. */ # include diff --git a/gst/multifile/gstmultifilesink.h b/gst/multifile/gstmultifilesink.h index 176891100d..cc4a4ddf45 100644 --- a/gst/multifile/gstmultifilesink.h +++ b/gst/multifile/gstmultifilesink.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include