summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pdo_firebird/pdo_firebird.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/pdo_firebird/pdo_firebird.c b/ext/pdo_firebird/pdo_firebird.c
index 0bc7073e13..274320d755 100644
--- a/ext/pdo_firebird/pdo_firebird.c
+++ b/ext/pdo_firebird/pdo_firebird.c
@@ -35,8 +35,23 @@ const zend_function_entry pdo_firebird_functions[] = { /* {{{ */
};
/* }}} */
+/* {{{ pdo_firebird_deps
+ */
+#if ZEND_MODULE_API_NO >= 20050922
+static const zend_module_dep pdo_firebird_deps[] = {
+ ZEND_MOD_REQUIRED("pdo")
+ {NULL, NULL, NULL}
+};
+#endif
+/* }}} */
+
zend_module_entry pdo_firebird_module_entry = { /* {{{ */
+#if ZEND_MODULE_API_NO >= 20050922
+ STANDARD_MODULE_HEADER_EX, NULL,
+ pdo_firebird_deps,
+#else
STANDARD_MODULE_HEADER,
+#endif
"PDO_Firebird",
pdo_firebird_functions,
PHP_MINIT(pdo_firebird),