-#else
-static unsigned char http_request_info_ref_3[] = {3, BYREF_NONE, BYREF_FORCE_REST};
-static unsigned char http_request_info_ref_4[] = {4, BYREF_NONE, BYREF_FORCE_REST};
+# else
+static unsigned char http_request_info_ref_3[] = {3, BYREF_NONE, BYREF_NONE, BYREF_FORCE};
+static unsigned char http_request_info_ref_4[] = {4, BYREF_NONE, BYREF_NONE, BYREF_NONE, BYREF_FORCE};
+# endif
+/* }}} ARG_INFO */
+
+#endif /* HTTP_HAVE_CURL */
+
+ZEND_DECLARE_MODULE_GLOBALS(http)
+
+#ifdef COMPILE_DL_HTTP
+ZEND_GET_MODULE(http)