diff options
Diffstat (limited to 'ext/xsl/php_xsl.c')
-rw-r--r-- | ext/xsl/php_xsl.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index d101554558..62d8863d6b 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -43,10 +43,18 @@ function_entry xsl_functions[] = { }; /* }}} */ +static zend_module_dep xsl_deps[] = { + ZEND_MOD_REQUIRED("libxml") + {NULL, NULL, NULL} +}; + /* {{{ xsl_module_entry */ zend_module_entry xsl_module_entry = { -#if ZEND_MODULE_API_NO >= 20010901 +#if ZEND_MODULE_API_NO >= 20050617 + STANDARD_MODULE_HEADER_EX, NULL, + xsl_deps, +#elif ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "xsl", |