cvs: pecl /http http.c
| From: | Michael Wallner | Date: | Tue, 12 Apr 2005 14:44:48 +0000 |
| Subject: | cvs: pecl /http http.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-2976@lists.php.net to get a copy of this message | ||
mike Tue Apr 12 10:44:48 2005 EDT
Modified files:
/pecl/http http.c
Log:
- include object headers only for ZE2
http://cvs.php.net/diff.php/pecl/http/http.c?r1=1.61&r2=1.62&ty=u
Index: pecl/http/http.c
diff -u pecl/http/http.c:1.61 pecl/http/http.c:1.62
--- pecl/http/http.c:1.61 Tue Apr 12 09:58:58 2005
+++ pecl/http/http.c Tue Apr 12 10:44:48 2005
@@ -13,7 +13,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: http.c,v 1.61 2005/04/12 13:58:58 mike Exp $ */
+/* $Id: http.c,v 1.62 2005/04/12 14:44:48 mike Exp $ */
#ifdef HAVE_CONFIG_H
@@ -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"