From: Michael Wallner Date: Wed, 23 Dec 2009 13:07:53 +0000 (+0000) Subject: fix build with c-ares >= 1.6.1 X-Git-Tag: RELEASE_0_7_0~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8c33bddfb1c67a8bbc331296c21c5a2706b9170b;p=m6w6%2Fext-ares fix build with c-ares >= 1.6.1 --- diff --git a/ares.c b/ares.c index d3c7d25..7191268 100644 --- a/ares.c +++ b/ares.c @@ -1649,7 +1649,7 @@ static ZEND_RSRC_DTOR_FUNC(php_ares_query_le_dtor) static PHP_MINIT_FUNCTION(ares) { #ifdef HAVE_ARES_LIBRARY_INIT - if (ARES_SUCCESS != ares_library_init()) { + if (ARES_SUCCESS != ares_library_init(ARES_LIB_INIT_ALL)) { return FAILURE; } #endif