X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_methods.c;h=57a7c2b579d31e53fa6ce37848f2f81d3f7d6a9c;hp=2f7a429fc9db51556245b7fdd7fba41d6846b3c4;hb=e26d1af5bcad6068bcd4854693d6a1fa12d7912d;hpb=a19a05825d04d634834f7898ec1a5247fdd6095c diff --git a/http_methods.c b/http_methods.c index 2f7a429..57a7c2b 100644 --- a/http_methods.c +++ b/http_methods.c @@ -15,6 +15,9 @@ /* $Id$ */ +#define _WINSOCKAPI_ +#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS + #ifdef HAVE_CONFIG_H # include "config.h" #endif @@ -1040,7 +1043,7 @@ PHP_METHOD(HTTPi_Request, send) status = http_post_array_ex(obj->ch, request_uri, Z_ARRVAL_P(post_data), Z_ARRVAL_P(opts), Z_ARRVAL_P(info), &response_data, &response_len); } else { - + /* * multipart post */ @@ -1140,4 +1143,4 @@ PHP_METHOD(HTTPi_Request, send) * End: * vim600: noet sw=4 ts=4 fdm=marker * vim<600: noet sw=4 ts=4 - */ + */ \ No newline at end of file