<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Fix:

error: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)' [-Werror,-Wimplicit-function-declaration]

https://github.com/php/php-src/commit/1a8df11364292dd3cac2c406a26e4aafaca62d36
--- ext/curl/config.m4.orig	2019-10-22 11:59:47.000000000 -0500
+++ ext/curl/config.m4	2020-12-30 02:23:41.000000000 -0600
@@ -79,6 +79,7 @@
     AC_PROG_CPP
     AC_MSG_CHECKING([for openssl support in libcurl])
     AC_TRY_RUN([
+#include &lt;strings.h&gt;
 #include &lt;curl/curl.h&gt;
 
 int main(int argc, char *argv[])
@@ -106,6 +107,7 @@
 
     AC_MSG_CHECKING([for gnutls support in libcurl])
     AC_TRY_RUN([
+#include &lt;strings.h&gt;
 #include &lt;curl/curl.h&gt;
 
 int main(int argc, char *argv[])
</pre></body></html>