>From 479533676f8a57dca645f02eeafb5de537a2251b Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Thu, 30 Oct 2014 00:33:18 +0100 Subject: [PATCH 1/2] NetBSD provides newlocale and strcoll_l, but not uselocale. Adapt ifdefs to handle this case correctly. --- libguile/i18n.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguile/i18n.c b/libguile/i18n.c index c6b9b84..6fa99fe 100644 --- a/libguile/i18n.c +++ b/libguile/i18n.c @@ -40,7 +40,7 @@ #include #include -#if (defined HAVE_NEWLOCALE) && (defined HAVE_STRCOLL_L) +#if (defined HAVE_NEWLOCALE) && (defined HAVE_STRCOLL_L) && (defined HAVE_USELOCALE) /* The GNU thread-aware locale API is documented in ``Thread-Aware Locale Model, a Proposal'', by Ulrich Drepper: -- 2.1.2