summaryrefslogtreecommitdiff
path: root/ext/phar/phar.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/phar.c')
-rw-r--r--ext/phar/phar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/phar/phar.c b/ext/phar/phar.c
index 45c999a5af..85f72236b8 100644
--- a/ext/phar/phar.c
+++ b/ext/phar/phar.c
@@ -3671,6 +3671,9 @@ static zend_module_dep phar_deps[] = {
ZEND_MOD_OPTIONAL("openssl")
ZEND_MOD_OPTIONAL("zlib")
ZEND_MOD_OPTIONAL("standard")
+#if HAVE_HASH
+ ZEND_MOD_REQUIRED("hash")
+#endif
#if HAVE_SPL
ZEND_MOD_REQUIRED("spl")
#endif