* add phpstr
[m6w6/ext-http] / php_http_curl_api.h
index 98493cacf916bab5b9ebeb96eb635ae6e1fc1774..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)