- allow to disable zlib support
[m6w6/ext-http] / http.c
diff --git a/http.c b/http.c
index d22499c4a8d3dd35d68b00f2c12c53fdcf86e0bb..039f7206234d9909ebff8751415180651e34c915 100644 (file)
--- a/http.c
+++ b/http.c
@@ -129,6 +129,9 @@ static zend_module_dep http_module_dep[] = {
 #      endif
 #      ifdef HTTP_HAVE_EXT_HASH
        ZEND_MOD_REQUIRED("hash")
+#      endif
+#      ifdef HAVE_PHP_SESSION
+       ZEND_MOD_REQUIRED("session")
 #      endif
        {NULL, NULL, NULL, 0}
 };