X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_curl_api.h;h=ca0f29202017b612f0623243bf46f42ccb2a5293;hp=98493cacf916bab5b9ebeb96eb635ae6e1fc1774;hb=d226b8581f49234f6769a123173b268aa9b2bb60;hpb=ea31ba145c26e01b14c8aaf49ee487a118a456a8 diff --git a/php_http_curl_api.h b/php_http_curl_api.h index 98493ca..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)