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_8_0~21 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-ares;a=commitdiff_plain;h=0a85371c47a2c945b2da365220544982d5dfc5bd fix build with c-ares >= 1.6.1 git-svn-id: http://svn.php.net/repository/pecl/ares/trunk@292531 c90b9560-bf6c-de11-be94-00142212c4b1 --- 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