diff --git a/NEWS b/NEWS index eee7bb4939c..5c61d900352 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,8 @@ PHP NEWS (zeriyoshi) . Fixed bug GH-15515 (Configure error grep illegal option q). (Peter Kokot) . Fixed bug GH-15514 (Configure error: genif.sh: syntax error). (Peter Kokot) + . Fixed bug GH-15565 (--disable-ipv6 during compilation produces error + EAI_SYSTEM not found). (nielsdos) - DOM: . Fixed bug GH-15551 (Segmentation fault (access null pointer) in diff --git a/main/network.c b/main/network.c index d44f3cae2e4..d5fa851b4f0 100644 --- a/main/network.c +++ b/main/network.c @@ -118,7 +118,9 @@ static const char *php_gai_strerror(int code) {EAI_NONAME, "Name or service not known"}, {EAI_SERVICE, "Servname not supported for ai_socktype"}, {EAI_SOCKTYPE, "ai_socktype not supported"}, +# ifdef EAI_SYSTEM {EAI_SYSTEM, "System error"}, +# endif {0, NULL} }; int i;