Commit 54f94852bbd for php
commit 54f94852bbdf4bd191470eb4c0786cf5bfb4ed0c
Author: Michael Orlitzky <michael@orlitzky.com>
Date: Mon Aug 10 17:14:58 2026 -0400
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
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index bbb41fdde32..5f424bebbc2 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>
], [