commit 4e064859b7e6b48b8e8d1a9b262ee399d5ddb25d
parent 0a73e18fe2d615075db57806b0ff342eec836010
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Tue, 10 Feb 2026 08:55:08 +0100
wscutil: Fix build issue with missing strings.h include
CC src/wscutil.o
src/wscutil.c: In function ‘wsc_device_type_from_subcategory_str’:
src/wscutil.c:3043:30: error: implicit declaration of function ‘strcasecmp’; did you mean ‘strncmp’? [-Wimplicit-function-declaration]
3043 | if (!strcasecmp(subcategory_str,
| ^~~~~~~~~~
| strncmp
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/wscutil.c b/src/wscutil.c
@@ -28,6 +28,7 @@
#include <stdarg.h>
#include <errno.h>
#include <stdio.h>
+#include <strings.h>
#include <ell/ell.h>