[php-src] master: ext/curl/config.m4: include string.h for test using strncmp()

From: Date: Wed, 30 Sep 2026 14:57:42 +0000
Subject: [php-src] master: ext/curl/config.m4: include string.h for test using strncmp()
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141796@lists.php.net to get a copy of this message
Author: Michael Orlitzky (orlitzky) Committer: Gina Peter Banyard (Girgias) Date: 2026-09-30T15:56:35+01:00 Commit: https://github.com/php/php-src/commit/54f94852bbdf4bd191470eb4c0786cf5bfb4ed0c Raw diff: https://github.com/php/php-src/commit/54f94852bbdf4bd191470eb4c0786cf5bfb4ed0c.diff ext/curl/config.m4: include string.h for test using strncmp() Commit 2ecafd41ba updates one of the curl ./configure tests to use strncmp(), but that function may not be defined unless string.h is included. We add it here. Closes GH-23208 Changed paths: M ext/curl/config.m4 Diff: diff --git a/ext/curl/config.m4 b/ext/curl/config.m4 index bbb41fdde322..5f424bebbc2e 100644 --- a/ext/curl/config.m4 +++ b/ext/curl/config.m4 @@ -24,6 +24,7 @@ if test "$PHP_CURL" != "no"; then AC_RUN_IFELSE([AC_LANG_PROGRAM([ #include <stdio.h> +#include <string.h> #include <strings.h> #include <curl/curl.h> ], [

« previous php.cvs (#141796) next »