Skip to content

Commit 54f9485

Browse files
orlitzkyGirgias
authored andcommitted
ext/curl/config.m4: include string.h for test using strncmp()
Commit 2ecafd4 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
1 parent 5b9cb81 commit 54f9485

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ext/curl/config.m4‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ if test "$PHP_CURL" != "no"; then
2424
2525
AC_RUN_IFELSE([AC_LANG_PROGRAM([
2626
#include <stdio.h>
27+
#include <string.h>
2728
#include <strings.h>
2829
#include <curl/curl.h>
2930
], [

0 commit comments

Comments
 (0)