From 7afeca0d0f821e12298d6987a9d1cd65be7539b0 Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Fri, 6 Jul 2012 15:45:20 -0400 Subject: 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. --- src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins') 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 6fb458d0f..c5f286315 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 #include #include -- cgit