mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
utils: Fixes for building without NLS
This commit is contained in:
parent
99afd6adef
commit
87e6f489a9
4 changed files with 8 additions and 0 deletions
|
|
@ -57,7 +57,9 @@ int main(int argc, char*argv[]) {
|
|||
int stdin_type = 0, stdout_type = 0, fd_type = 0;
|
||||
|
||||
setlocale(LC_ALL, "");
|
||||
#ifdef ENABLE_NLS
|
||||
bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR);
|
||||
#endif
|
||||
|
||||
if (pa_pid_file_check_running(&pid, "pulseaudio") < 0) {
|
||||
pa_log(_("No PulseAudio daemon running, or not running as session daemon."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue