X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_curl_api.h;h=ca0f29202017b612f0623243bf46f42ccb2a5293;hp=3b55c28f6de7d4619007641dca109eac99a97a61;hb=d226b8581f49234f6769a123173b268aa9b2bb60;hpb=2811a2111f519ee55e05c4084903a34dc0c3b818 diff --git a/php_http_curl_api.h b/php_http_curl_api.h index 3b55c28..ca0f292 100644 --- a/php_http_curl_api.h +++ b/php_http_curl_api.h @@ -18,6 +18,11 @@ #ifndef PHP_HTTP_CURL_API_H #define PHP_HTTP_CURL_API_H +#ifdef PHP_WIN32 +# define _WINSOCKAPI_ +# include +#endif + #include #define http_get(u, o, i, d, l) _http_get_ex(NULL, (u), (o), (i), (d), (l) TSRMLS_CC) @@ -49,4 +54,5 @@ PHP_HTTP_API STATUS _http_post_curldata_ex(CURL *ch, const char *URL, struct cur * End: * vim600: noet sw=4 ts=4 fdm=marker * vim<600: noet sw=4 ts=4 - */ \ No newline at end of file + */ +