diff --git a/src/output/plugins/PulseOutputPlugin.cxx b/src/output/plugins/PulseOutputPlugin.cxx index 51c8cd828..31635bcaf 100644 --- a/src/output/plugins/PulseOutputPlugin.cxx +++ b/src/output/plugins/PulseOutputPlugin.cxx @@ -26,8 +26,6 @@ #include "util/Domain.hxx" #include "Log.hxx" -#include - #include #include #include @@ -38,6 +36,7 @@ #include #include +#include #define MPD_PULSE_NAME "Music Player Daemon" @@ -327,7 +326,7 @@ pulse_output_init(const config_param ¶m, Error &error) { PulseOutput *po; - g_setenv("PULSE_PROP_media.role", "music", true); + setenv("PULSE_PROP_media.role", "music", true); po = new PulseOutput(); if (!po->base.Configure(param, error)) {