X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_response_object.c;h=5d46fa509c73c7efaf2c4ec9428b71cae0dd0640;hp=0d6cfa7cd59d2c150e7ab86a2c238c947fe0029e;hb=edc84b40eb2c5be04492fa98fec5833a030782eb;hpb=e72c7760ba1b1502655567f2a57be034a4f7c11d diff --git a/http_response_object.c b/http_response_object.c index 0d6cfa7..5d46fa5 100644 --- a/http_response_object.c +++ b/http_response_object.c @@ -16,9 +16,9 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif -#include "php.h" -#include "missing.h" +#define HTTP_WANT_MAGIC +#include "php_http.h" /* broken static properties in PHP 5.0 */ #if defined(ZEND_ENGINE_2) && !defined(WONKY) @@ -26,18 +26,13 @@ #include "SAPI.h" #include "php_ini.h" -#include "php_http.h" #include "php_http_api.h" -#include "php_http_std_defs.h" -#include "php_http_response_object.h" -#include "php_http_exception_object.h" -#include "php_http_send_api.h" #include "php_http_cache_api.h" +#include "php_http_exception_object.h" #include "php_http_headers_api.h" +#include "php_http_response_object.h" +#include "php_http_send_api.h" -#ifdef HTTP_HAVE_MAGIC -# include -#endif ZEND_EXTERN_MODULE_GLOBALS(http);