From: Michael Wallner Date: Tue, 12 Apr 2005 14:44:48 +0000 (+0000) Subject: - include object headers only for ZE2 X-Git-Tag: RELEASE_0_8_0~80 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=5e35a11e19288bc1263e590c119cafc21b94555c;p=m6w6%2Fext-http - include object headers only for ZE2 --- diff --git a/http.c b/http.c index 991e84e..50f387b 100644 --- a/http.c +++ b/http.c @@ -35,13 +35,16 @@ #include "php_http.h" #include "php_http_std_defs.h" - #include "php_http_send_api.h" -#include "php_http_util_object.h" -#include "php_http_message_object.h" -#include "php_http_response_object.h" -#include "php_http_request_object.h" +#ifdef ZEND_ENGINE_2 +# include "php_http_util_object.h" +# include "php_http_message_object.h" +# include "php_http_response_object.h" +# ifdef HTTP_HAVE_CURL +# include "php_http_request_object.h" +# endif +#endif #include "phpstr/phpstr.h"