From 37bd1587014778400f90b8a7a64266fc405f9c0f Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Wed, 14 Dec 2011 21:57:01 +0530 Subject: [PATCH] x11: Fix build without NLS support --- src/utils/pax11publish.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/pax11publish.c b/src/utils/pax11publish.c index ddfb7242f..d3ffc78b6 100644 --- a/src/utils/pax11publish.c +++ b/src/utils/pax11publish.c @@ -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) {