projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
99879cd
)
- include object headers only for ZE2
author
Michael Wallner
<mike@php.net>
Tue, 12 Apr 2005 14:44:48 +0000
(14:44 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 12 Apr 2005 14:44:48 +0000
(14:44 +0000)
http.c
patch
|
blob
|
history
diff --git
a/http.c
b/http.c
index 991e84e8fc031ff4c30fb487cf0f8bee8f051739..50f387b81363d3b98eeaf69d2669483e4b742631 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-35,13
+35,16
@@
#include "php_http.h"
#include "php_http_std_defs.h"
#include "php_http.h"
#include "php_http_std_defs.h"
-
#include "php_http_send_api.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"
#include "phpstr/phpstr.h"