projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
* improve http_send() and http_negotiate_q() code
[m6w6/ext-http]
/
php_http_curl_api.h
diff --git
a/php_http_curl_api.h
b/php_http_curl_api.h
index 98493cacf916bab5b9ebeb96eb635ae6e1fc1774..5e3d3e11fa651010a3b9d09483a26474aa10e0e8 100644
(file)
--- a/
php_http_curl_api.h
+++ b/
php_http_curl_api.h
@@
-18,6
+18,10
@@
#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)