diff --git a/config.w32 b/config.w32 index aebc269..07c0f26 100644 --- a/config.w32 +++ b/config.w32 @@ -1,9 +1,11 @@ ARG_ENABLE("uv", "for uv support", "no"); if (PHP_UV != "no") { - if (CHECK_HEADER_ADD_INCLUDE("uv.h", "CFLAGS_UV", ".\\libuv\\include") && CHECK_LIB("uv.lib", "uv", PHP_UV, ".\\")) { + if (CHECK_HEADER_ADD_INCLUDE("uv.h", "CFLAGS_UV", ".\\libuv\\include") && + CHECK_LIB("uv.lib", "uv", PHP_UV, ".\\")) { EXTENSION('uv', 'php_uv.c uv.c'); } else { WARNING("uv not enabled; libraries and/or headers not found"); } + CHECK_LIB("Iphlpapi.lib","iphlpapi",PHP_UV); } \ No newline at end of file diff --git a/php_uv.h b/php_uv.h index 6192bbd..fbf68e2 100644 --- a/php_uv.h +++ b/php_uv.h @@ -12,7 +12,6 @@ #include "php.h" #include "uv.h" -#include "ext/spl/spl_exceptions.h" #include "zend_interfaces.h" /* Define the entry point symbol