mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
x11: Fix build without NLS support
This commit is contained in:
parent
5a908ae513
commit
37bd158701
1 changed files with 2 additions and 0 deletions
|
|
@ -48,7 +48,9 @@ int main(int argc, char *argv[]) {
|
||||||
enum { DUMP, EXPORT, IMPORT, REMOVE } mode = DUMP;
|
enum { DUMP, EXPORT, IMPORT, REMOVE } mode = DUMP;
|
||||||
|
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
|
#ifdef ENABLE_NLS
|
||||||
bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR);
|
bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR);
|
||||||
|
#endif
|
||||||
|
|
||||||
while ((c = getopt(argc, argv, "deiD:S:O:I:c:hr")) != -1) {
|
while ((c = getopt(argc, argv, "deiD:S:O:I:c:hr")) != -1) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue