summaryrefslogtreecommitdiff
path: root/config/conf.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/conf.c
parentc97a6e61935ad4b5527fe4cad786cdb42489f69c (diff)
make it compile without locale support
Diffstat (limited to 'config/conf.c')
-rw-r--r--config/conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/conf.c b/config/conf.c
index 3baaaecd6..74be7e779 100644
--- a/config/conf.c
+++ b/config/conf.c
@@ -435,9 +435,11 @@ int main(int ac, char **av)
const char *name;
struct stat tmpstat;
+#ifndef KBUILD_NO_NLS
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
+#endif
while ((opt = getopt(ac, av, "osdD:nmyrh")) != -1) {
switch (opt) {