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/plugins | |
| 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/plugins')
| -rw-r--r-- | src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c index 6fb458d0ff..c5f286315e 100644 --- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c +++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c @@ -75,6 +75,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <locale.h> #include <stdio.h> #include <time.h> |
