From 0a85371c47a2c945b2da365220544982d5dfc5bd Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 23 Dec 2009 13:07:53 +0000 Subject: [PATCH] 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 --- ares.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2