projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- added custom error function which is able to throw exceptions
[m6w6/ext-http]
/
php_http_curl_api.h
diff --git
a/php_http_curl_api.h
b/php_http_curl_api.h
index 98493cacf916bab5b9ebeb96eb635ae6e1fc1774..586259e41ed885af4f7902f8da594d614125c94d 100644
(file)
--- a/
php_http_curl_api.h
+++ b/
php_http_curl_api.h
@@
-18,6
+18,12
@@
#ifndef PHP_HTTP_CURL_API_H
#define PHP_HTTP_CURL_API_H
#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)
#include <curl/curl.h>
#define http_get(u, o, i, d, l) _http_get_ex(NULL, (u), (o), (i), (d), (l) TSRMLS_CC)