From: Collin Funk Date: Sat, 5 Jul 2025 04:23:19 +0000 (-0700) Subject: strcasecmp_l: Fix previous change. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05c37305b0cf5a997761bb86b14d6e008695fcf6;p=thirdparty%2Fgnulib.git strcasecmp_l: Fix previous change. Suggested by Bruno Haible in: . * lib/strcasecmp_l.c: Include c-strcase.h unconditionally. Use #include "c-strcase.h" instead of #include . --- diff --git a/ChangeLog b/ChangeLog index e18a5dcd1e..b0c19f5622 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2025-07-04 Collin Funk + strcasecmp_l: Fix previous change. + Suggested by Bruno Haible in: + . + * lib/strcasecmp_l.c: Include c-strcase.h unconditionally. Use + #include "c-strcase.h" instead of #include . + strncasecmp_l: Fix missing declaration of c_strncasecmp. * lib/strncasecmp_l.c [GNULIB_defined_locale_t]: Include c-strcase.h. diff --git a/lib/strcasecmp_l.c b/lib/strcasecmp_l.c index 2901d12064..151182244b 100644 --- a/lib/strcasecmp_l.c +++ b/lib/strcasecmp_l.c @@ -23,9 +23,7 @@ #include #include -#if GNULIB_defined_locale_t -# include -#endif +#include "c-strcase.h" int strcasecmp_l (const char *s1, const char *s2, locale_t locale)