projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- no need to allocate two contexts for the same payload
[m6w6/ext-http]
/
http_url_api.c
diff --git
a/http_url_api.c
b/http_url_api.c
index 459b618b532f551ffbdb73790999b816d5644975..83d295af4f58e92eb37c811fffcd6095c171c9a5 100644
(file)
--- a/
http_url_api.c
+++ b/
http_url_api.c
@@
-19,12
+19,6
@@
# include "config.h"
#endif
# include "config.h"
#endif
-#ifdef PHP_WIN32
-# include <winsock2.h>
-#elif defined(HAVE_NETDB_H)
-# include <netdb.h>
-#endif
-
#include "php.h"
#include "zend_ini.h"
#include "php_output.h"
#include "php.h"
#include "zend_ini.h"
#include "php_output.h"
@@
-39,6
+33,12
@@
#include "php_http_url_api.h"
#include "php_http_std_defs.h"
#include "php_http_url_api.h"
#include "php_http_std_defs.h"
+#ifdef PHP_WIN32
+# include <winsock2.h>
+#elif defined(HAVE_NETDB_H)
+# include <netdb.h>
+#endif
+
ZEND_EXTERN_MODULE_GLOBALS(http);
/* {{{ char *http_absolute_url(char *) */
ZEND_EXTERN_MODULE_GLOBALS(http);
/* {{{ char *http_absolute_url(char *) */