summaryrefslogtreecommitdiff
path: root/source4/heimdal/kuser
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-24 12:19:06 -0800
committerJeremy Allison <jra@samba.org>2009-02-24 12:19:06 -0800
commit3a88316e233079199117731756d35d0aea4670e4 (patch)
tree8c284820754595b5e18c2b778c1ea7232fa819f6 /source4/heimdal/kuser
parent365925eea308673f15e03d81b69f04b8908468e7 (diff)
downloadsamba-3a88316e233079199117731756d35d0aea4670e4.tar.gz
samba-3a88316e233079199117731756d35d0aea4670e4.tar.bz2
samba-3a88316e233079199117731756d35d0aea4670e4.zip
Fix the build. Looks like no one ever compiled this on a system
with a libintl.h before. Jeremy.
Diffstat (limited to 'source4/heimdal/kuser')
-rw-r--r--source4/heimdal/kuser/kinit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/heimdal/kuser/kinit.c b/source4/heimdal/kuser/kinit.c
index d1ef776716..fbb2d2287b 100644
--- a/source4/heimdal/kuser/kinit.c
+++ b/source4/heimdal/kuser/kinit.c
@@ -726,8 +726,10 @@ main (int argc, char **argv)
setprogname (argv[0]);
setlocale (LC_ALL, "");
+#if defined(HEIMDAL_LOCALEDIR)
bindtextdomain ("heimdal_kuser", HEIMDAL_LOCALEDIR);
textdomain("heimdal_kuser");
+#endif
ret = krb5_init_context (&context);
if (ret == KRB5_CONFIG_BADFORMAT)