diff --git a/gst-libs/gst/pbutils/encoding-target.c b/gst-libs/gst/pbutils/encoding-target.c index 9497d14461..3de4ac57ea 100644 --- a/gst-libs/gst/pbutils/encoding-target.c +++ b/gst-libs/gst/pbutils/encoding-target.c @@ -26,6 +26,7 @@ #include #include #include "encoding-target.h" +#include "pbutils-private.h" /* Documented in encoding-profile.c */ diff --git a/gst-libs/gst/pbutils/pbutils.c b/gst-libs/gst/pbutils/pbutils.c index b75c2faf4b..1a081ee317 100644 --- a/gst-libs/gst/pbutils/pbutils.c +++ b/gst-libs/gst/pbutils/pbutils.c @@ -57,11 +57,12 @@ #endif #include "pbutils.h" +#include "pbutils-private.h" #include "gst/gst-i18n-plugin.h" -static void -_init_locale_text_domain (void) +static gpointer +_init_locale_text_domain (gpointer data) { #ifdef ENABLE_NLS GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, @@ -69,6 +70,8 @@ _init_locale_text_domain (void) bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); #endif + + return NULL; } void