X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_method_api.c;h=9e5c79a0c9be133c63ea940ceeff001708627223;hp=873d5b1df14341aa74432b2399bb688c04d74751;hb=419ba9235752d56f15b393fc7969316978c6c721;hpb=0e41acb9661b95484c212e349f83e34eb3fe84a2 diff --git a/http_request_method_api.c b/http_request_method_api.c index 873d5b1..9e5c79a 100644 --- a/http_request_method_api.c +++ b/http_request_method_api.c @@ -15,19 +15,18 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif -#include "php.h" +#define HTTP_WANT_CURL #include "php_http.h" -#include "php_http_std_defs.h" + #include "php_http_api.h" +#include "php_http_request_api.h" #include "php_http_request_method_api.h" -#if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_CURL) + +#if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_CURL) && !defined(WONKY) # include "php_http_request_object.h" #endif -#include "missing.h" -#include "phpstr/phpstr.h" - ZEND_EXTERN_MODULE_GLOBALS(http); /* {{{ char *http_request_methods[] */