X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_methods.c;h=08959ed0c152c9c2ec0e490bc5e57de4b23543cf;hb=902d195a198f4976c8ff081a95cdd3e315c14f5f;hp=c18e5aec630aa7603f5e678ab23296862ed82b81;hpb=4f8c51464143f79fd4367c386e5108361ce83a42;p=m6w6%2Fext-http diff --git a/http_methods.c b/http_methods.c index c18e5ae..08959ed 100644 --- a/http_methods.c +++ b/http_methods.c @@ -18,8 +18,10 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif - #include "php.h" + +#ifdef ZEND_ENGINE_2 + #include "php_streams.h" #include "php_http.h" @@ -40,11 +42,9 @@ #include "php_http_requestpool_object.h" #include "php_http_exception_object.h" -#ifdef ZEND_ENGINE_2 - #include "missing.h" -ZEND_EXTERN_MODULE_GLOBALS(http) +ZEND_EXTERN_MODULE_GLOBALS(http); /* {{{ HttpResponse */