summaryrefslogtreecommitdiff
path: root/config/mconf.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-28 21:34:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-28 21:34:47 +0200
commitdf25a2fd0779277dd0f43d070e4a15f0dc16bacc (patch)
treead5d2bfa834985805adfbe923c2d2160f26f2878 /config/mconf.c
parentc97a6e61935ad4b5527fe4cad786cdb42489f69c (diff)
make it compile without locale support
Diffstat (limited to 'config/mconf.c')
-rw-r--r--config/mconf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/mconf.c b/config/mconf.c
index 9516a5715..6aa2c0d88 100644
--- a/config/mconf.c
+++ b/config/mconf.c
@@ -875,9 +875,11 @@ int main(int ac, char **av)
char *mode;
int res;
+#ifndef KBUILD_NO_NLS
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
+#endif
conf_parse(av[1]);
conf_read(NULL);