From: Collin Funk Date: Sat, 5 Jul 2025 02:34:06 +0000 (-0700) Subject: strcasecmp_l: Fix missing declaration of c_strcasecmp (regr. 2025-02-16). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=202ba7a9ee4f2bf15f2cee7d0b3d2ad6081dfe00;p=thirdparty%2Fgnulib.git 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/ChangeLog b/ChangeLog index 7b9e2710c5..5d4b89ac15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2025-07-04 Collin Funk + strcasecmp_l: Fix missing declaration of c_strcasecmp (regr. 2025-02-16). + * lib/strcasecmp_l.c [GNULIB_defined_locale_t]: Include c-strcase.h. + forkpty: Adjust misleading comment. * lib/forkpty.c: Remove comment about mingw where it does not build. diff --git a/lib/strcasecmp_l.c b/lib/strcasecmp_l.c index 07ffee2f7f..2901d12064 100644 --- a/lib/strcasecmp_l.c +++ b/lib/strcasecmp_l.c @@ -23,6 +23,10 @@ #include #include +#if GNULIB_defined_locale_t +# include +#endif + int strcasecmp_l (const char *s1, const char *s2, locale_t locale) {