utils: Fixes for building without NLS

This commit is contained in:
Arun Raghavan 2011-12-09 21:00:11 +05:30
parent 99afd6adef
commit 87e6f489a9
4 changed files with 8 additions and 0 deletions

View file

@ -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."));