- missing src file
[m6w6/ext-http] / http_request_info.c
index 71bd4fc21ed5c433d953c98b28ea4ef5b8f6d2af..110021102687bd9594907c186e015c2d04f1ef69 100644 (file)
@@ -6,7 +6,7 @@
     | modification, are permitted provided that the conditions mentioned |
     | in the accompanying LICENSE file are met.                          |
     +--------------------------------------------------------------------+
-    | Copyright (c) 2004-2006, Michael Wallner <mike@php.net>            |
+    | Copyright (c) 2004-2007, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
@@ -15,6 +15,7 @@
 #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 @@ PHP_HTTP_API void _http_request_info(http_request *request, HashTable *info)
 }
 /* }}} */
 
+#endif /* HTTP_HAVE_CURL */
+
 /*
  * Local variables:
  * tab-width: 4