projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* attempt yet again to fix php4 snaps build
[m6w6/ext-http]
/
http.c
diff --git
a/http.c
b/http.c
index 2142eab9a9068bebb6c2f06d8e1fbfe4ce395b47..56ae91d1024f3a3c3aa5292df29393aa85b32bd3 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-15,10
+15,20
@@
/* $Id$ */
/* $Id$ */
+#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#if defined(HAVE_CURL) && HAVE_CURL
+# ifdef PHP_WIN32
+# include <winsock2.h>
+# include <sys/types.h>
+# endif
+#include <curl/curl.h>
+#endif
+
#include "php.h"
#include "snprintf.h"
#include "ext/standard/info.h"
#include "php.h"
#include "snprintf.h"
#include "ext/standard/info.h"
@@
-29,14
+39,6
@@
#include "php_http.h"
#include "php_http_api.h"
#include "php_http.h"
#include "php_http_api.h"
-#if defined(HAVE_CURL) && HAVE_CURL
-# ifdef PHP_WIN32
-# include <winsock2.h>
-# include <sys/types.h>
-# endif
-#include <curl/curl.h>
-#endif
-
ZEND_DECLARE_MODULE_GLOBALS(http)
#ifdef COMPILE_DL_HTTP
ZEND_DECLARE_MODULE_GLOBALS(http)
#ifdef COMPILE_DL_HTTP