* more modular file structure
[m6w6/ext-http] / php_http.h
index 3a53a5875495b7c24258f1fba84ed86e716aa521..62ae4747c148ed376b8c3ef1fd5d19544478da16 100644 (file)
@@ -206,6 +206,9 @@ ZEND_BEGIN_MODULE_GLOBALS(http)
        char *allowed_methods;
 #ifdef HTTP_HAVE_CURL
        phpstr curlbuf;
+#      if LIBCURL_VERSION_NUM < 0x070c00
+       char curlerr[CURL_ERROR_SIZE + 1];
+#      endif
        zend_llist to_free;
 #endif /* HTTP_HAVE_CURL */
 ZEND_END_MODULE_GLOBALS(http)