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

ChangeLog
lib/strncasecmp_l.c

index 5d4b89ac15148a3292e20bb90284ac1b38b062fa..2d52118881b503b845d122d05b707f2cd594cad4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2025-07-04  Collin Funk  <collin.funk1@gmail.com>
 
+       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.
 
index 04219c5c9549bcf5eb2de94640a8a55706f73025..9e2594a5c9c6bce52b14fba7dce6c6afea1d2b3c 100644 (file)
 #include <limits.h>
 #include <string.h>
 
+#if GNULIB_defined_locale_t
+# include <c-strcase.h>
+#endif
+
 int
 strncasecmp_l (const char *s1, const char *s2, size_t n, locale_t locale)
 {