From a68d1e323b3063df54de22ed9b588e9b5cfeeb5c Mon Sep 17 00:00:00 2001 From: Jan Polensky Date: Fri, 28 Mar 2025 15:06:43 +0100 Subject: [PATCH] libccw/ccw.c: Include strings.h instead of string.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Including string.h is incorrect as it doesn't provide the required function prototype for strncasecmp() used in this file. Note that the missing function prototype doesn't cause a compilation error at the moment as the declaration is provided indirectly. Use strings.h to provide the declaration for strncasecmp() directly, avoiding unnecessary include dependencies and improving clarity. Reviewed-by: Jan Höppner Signed-off-by: Jan Polensky Signed-off-by: Jan Höppner --- libccw/ccw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libccw/ccw.c b/libccw/ccw.c index 1378b3ed..7bd28199 100644 --- a/libccw/ccw.c +++ b/libccw/ccw.c @@ -10,7 +10,7 @@ */ #include -#include +#include #include "lib/ccw.h"