- added custom error function which is able to throw exceptions
[m6w6/ext-http] / php_http_curl_api.h
index 98493cacf916bab5b9ebeb96eb635ae6e1fc1774..586259e41ed885af4f7902f8da594d614125c94d 100644 (file)
 #ifndef PHP_HTTP_CURL_API_H
 #define PHP_HTTP_CURL_API_H
 
+#include "php_http_std_defs.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)