]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
strcasecmp, strncasecmp: Fix header reference.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Feb 2025 13:12:26 +0000 (14:12 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 16 Feb 2025 14:48:47 +0000 (15:48 +0100)
* lib/strcasecmp.c: Include <strings.h>, not <string.h>.
* lib/strncasecmp.c: Likewise.

ChangeLog
lib/strcasecmp.c
lib/strncasecmp.c

index 549db282dbe2522dbb2b4854ea85fd91574e9db7..9669e2210d9d9ade152fae9796974d95fbf7b0f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-02-16  Bruno Haible  <bruno@clisp.org>
+
+       strcasecmp, strncasecmp: Fix header reference.
+       * lib/strcasecmp.c: Include <strings.h>, not <string.h>.
+       * lib/strncasecmp.c: Likewise.
+
 2025-02-16  Bruno Haible  <bruno@clisp.org>
 
        realloc: Fix link error in C++ mode on CentOS 5 (regression 2024-11-04).
index fe21a6d5b3d1ec70c782082ca59f9bbdb5ed19ab..16626d4d092350b87c169689722cc745eb170a22 100644 (file)
@@ -17,7 +17,7 @@
 #include <config.h>
 
 /* Specification.  */
-#include <string.h>
+#include <strings.h>
 
 #include <ctype.h>
 #include <limits.h>
index 7a0115d05022205b8268437c3ce7056f225dcc93..7d7c5b7f04a7de59e805721fa80363f1bdf7d1f8 100644 (file)
@@ -17,7 +17,7 @@
 #include <config.h>
 
 /* Specification.  */
-#include <string.h>
+#include <strings.h>
 
 #include <ctype.h>
 #include <limits.h>