From de34a20dc3f636cce71578d600a464263beeb32a Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 14 Feb 2024 14:33:50 +0100 Subject: [PATCH] os: fix mising prototype / include on WIN32 builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [90/383] Compiling C object os/liblibxlibc.a.p/strcasestr.c.obj 359../os/strcasestr.c:45:1: warning: no previous prototype for ‘xstrcasestr’ [-Wmissing-prototypes] 360 45 | xstrcasestr(const char *s, const char *find) 361 | ^~~~~~~~~~~ Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- os/strcasestr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/os/strcasestr.c b/os/strcasestr.c index 3189cf21e..4e483a940 100644 --- a/os/strcasestr.c +++ b/os/strcasestr.c @@ -37,6 +37,8 @@ #include #include +#include "os.h" + /* * Find the first occurrence of find in s, ignore case. */