diff options
| author | Ben Kaduk <kaduk@mit.edu> | 2012-07-06 15:45:20 -0400 |
|---|---|---|
| committer | Ben Kaduk <kaduk@mit.edu> | 2012-07-06 16:34:28 -0400 |
| commit | 7afeca0d0f821e12298d6987a9d1cd65be7539b0 (patch) | |
| tree | 149904f35e11c07132b960eaa2f604b4ed5b542a /src/kadmin/cli | |
| parent | a7a0fb374869e77b380e658fa698622f1adcdbe4 (diff) | |
| download | krb5-7afeca0d0f821e12298d6987a9d1cd65be7539b0.tar.gz krb5-7afeca0d0f821e12298d6987a9d1cd65be7539b0.tar.xz krb5-7afeca0d0f821e12298d6987a9d1cd65be7539b0.zip | |
Allow using locales when gettext is absent
Previously, if configure did not detect dgettext(), we disabled
anything that smelled like localization, inadvertently including
setlocale(). Now that we use setlocale(LC_ALL, ""), we have
localized dates available as well as messages, so we should not
disable calls to setlocale() any more.
Since the routines from locale.h are only used in a relatively
small number of places, just include the header directly in those
files and remove it from k5-platform.h.
Diffstat (limited to 'src/kadmin/cli')
| -rw-r--r-- | src/kadmin/cli/ss_wrapper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kadmin/cli/ss_wrapper.c b/src/kadmin/cli/ss_wrapper.c index bf884d1ec..54f56716b 100644 --- a/src/kadmin/cli/ss_wrapper.c +++ b/src/kadmin/cli/ss_wrapper.c @@ -25,6 +25,7 @@ #include <krb5.h> #include <k5-platform.h> +#include <locale.h> #include <ss/ss.h> #include "kadmin.h" |
