cvs: pecl /http http_request_info.c
| From: | Michael Wallner | Date: | Wed, 25 Oct 2006 07:27:39 +0000 |
| Subject: | cvs: pecl /http http_request_info.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-6540@lists.php.net to get a copy of this message | ||
mike Wed Oct 25 07:27:39 2006 UTC
Modified files:
/pecl/http http_request_info.c
Log:
- fix build --without-http-curl-requests
http://cvs.php.net/viewvc.cgi/pecl/http/http_request_info.c?r1=1.2&r2=1.3&diff_format=u
Index: pecl/http/http_request_info.c
diff -u pecl/http/http_request_info.c:1.2 pecl/http/http_request_info.c:1.3
--- pecl/http/http_request_info.c:1.2 Fri Sep 29 09:06:42 2006
+++ pecl/http/http_request_info.c Wed Oct 25 07:27:39 2006
@@ -10,11 +10,12 @@
+--------------------------------------------------------------------+
*/
-/* $Id: http_request_info.c,v 1.2 2006/09/29 09:06:42 mike Exp $ */
+/* $Id: http_request_info.c,v 1.3 2006/10/25 07:27:39 mike Exp $ */
#define HTTP_WANT_CURL
#include "php_http.h"
+#ifdef HTTP_HAVE_CURL
#include "php_http_request_api.h"
/* {{{ void http_request_info(http_request *, HashTable *) */
@@ -128,6 +129,8 @@
}
/* }}} */
+#endif /* HTTP_HAVE_CURL */
+
/*
* Local variables:
* tab-width: 4