]> code.delx.au - pulseaudio/blobdiff - src/utils/pax11publish.c
x11: Fix build without NLS support
[pulseaudio] / src / utils / pax11publish.c
index ddfb7242f1125d583fab5834baf056527cc8ad0b..d3ffc78b661825252425d9dcac2661645f511e37 100644 (file)
@@ -48,7 +48,9 @@ int main(int argc, char *argv[]) {
     enum { DUMP, EXPORT, IMPORT, REMOVE } mode = DUMP;
 
     setlocale(LC_ALL, "");
+#ifdef ENABLE_NLS
     bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR);
+#endif
 
     while ((c = getopt(argc, argv, "deiD:S:O:I:c:hr")) != -1) {
         switch (c) {