]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
strcasecmp_l: Fix missing declaration of c_strcasecmp (regr. 2025-02-16).
authorCollin Funk <collin.funk1@gmail.com>
Sat, 5 Jul 2025 02:34:06 +0000 (19:34 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Sat, 5 Jul 2025 02:34:06 +0000 (19:34 -0700)
* lib/strcasecmp_l.c [GNULIB_defined_locale_t]: Include c-strcase.h.

ChangeLog
lib/strcasecmp_l.c

index 7b9e2710c5bafee8abee7e46abc7d3ba1cef7868..5d4b89ac15148a3292e20bb90284ac1b38b062fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2025-07-04  Collin Funk  <collin.funk1@gmail.com>
 
+       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.
 
index 07ffee2f7f6d32b8361cab32d3edd184d9314180..2901d120646f425e9b36239620ecae143f55aa0a 100644 (file)
 #include <limits.h>
 #include <string.h>
 
+#if GNULIB_defined_locale_t
+# include <c-strcase.h>
+#endif
+
 int
 strcasecmp_l (const char *s1, const char *s2, locale_t locale)
 {