summaryrefslogtreecommitdiff
path: root/ext/yp/yp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/yp/yp.c')
-rw-r--r--ext/yp/yp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/yp/yp.c b/ext/yp/yp.c
index a8d82d751c..eb276c7901 100644
--- a/ext/yp/yp.c
+++ b/ext/yp/yp.c
@@ -47,6 +47,10 @@ zend_module_entry yp_module_entry = {
STANDARD_MODULE_PROPERTIES
};
+#ifdef COMPILE_DL_YP
+ZEND_GET_MODULE(yp)
+#endif
+
/* {{{ proto string yp_get_default_domain(void)
Returns the domain or false */
PHP_FUNCTION(yp_get_default_domain) {