* add phpstr
[m6w6/ext-http] / php_http_curl_api.h
index 3b55c28f6de7d4619007641dca109eac99a97a61..5e3d3e11fa651010a3b9d09483a26474aa10e0e8 100644 (file)
 #ifndef PHP_HTTP_CURL_API_H
 #define PHP_HTTP_CURL_API_H
 
+#ifdef PHP_WIN32
+#      include <winsock2.h>
+#endif
+
 #include <curl/curl.h>
 
 #define http_get(u, o, i, d, l) _http_get_ex(NULL, (u), (o), (i), (d), (l) TSRMLS_CC)
@@ -49,4 +53,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
+ */
+