From: Collin Funk Date: Sat, 5 Jul 2025 02:36:50 +0000 (-0700) Subject: strncasecmp_l: Fix missing declaration of c_strncasecmp (regr. 2025-02-16). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eab78ca4765aea66a1148af92bf0b5d9611901aa;p=thirdparty%2Fgnulib.git strncasecmp_l: Fix missing declaration of c_strncasecmp (regr. 2025-02-16). * lib/strncasecmp_l.c [GNULIB_defined_locale_t]: Include c-strcase.h. --- diff --git a/ChangeLog b/ChangeLog index 5d4b89ac15..2d52118881 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2025-07-04 Collin Funk + strncasecmp_l: Fix missing declaration of c_strncasecmp (regr. 2025-02-16). + * lib/strncasecmp_l.c [GNULIB_defined_locale_t]: Include c-strcase.h. + strcasecmp_l: Fix missing declaration of c_strcasecmp (regr. 2025-02-16). * lib/strcasecmp_l.c [GNULIB_defined_locale_t]: Include c-strcase.h. diff --git a/lib/strncasecmp_l.c b/lib/strncasecmp_l.c index 04219c5c95..9e2594a5c9 100644 --- a/lib/strncasecmp_l.c +++ b/lib/strncasecmp_l.c @@ -23,6 +23,10 @@ #include #include +#if GNULIB_defined_locale_t +# include +#endif + int strncasecmp_l (const char *s1, const char *s2, size_t n, locale_t locale) {