From 5f04760d51e4e25b55d12a4698b361e1e93f91a9 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 9 Feb 2005 07:19:29 +0000 Subject: [PATCH] * move includes around --- http.c | 16 ++++++++-------- http_api.c | 22 +++++++++++----------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/http.c b/http.c index 2142eab..3906c7e 100644 --- a/http.c +++ b/http.c @@ -19,6 +19,14 @@ #include "config.h" #endif +#if defined(HAVE_CURL) && HAVE_CURL +# ifdef PHP_WIN32 +# include +# include +# endif +#include +#endif + #include "php.h" #include "snprintf.h" #include "ext/standard/info.h" @@ -29,14 +37,6 @@ #include "php_http.h" #include "php_http_api.h" -#if defined(HAVE_CURL) && HAVE_CURL -# ifdef PHP_WIN32 -# include -# include -# endif -#include -#endif - ZEND_DECLARE_MODULE_GLOBALS(http) #ifdef COMPILE_DL_HTTP diff --git a/http_api.c b/http_api.c index ea11f10..adef9a2 100644 --- a/http_api.c +++ b/http_api.c @@ -19,6 +19,17 @@ #include "config.h" #endif +#include + +#if defined(HAVE_CURL) && HAVE_CURL +# ifdef PHP_WIN32 +# include +# include +# endif +#include +#include +#endif + #include "php.h" #include "php_version.h" #include "php_streams.h" @@ -42,17 +53,6 @@ #include "php_http.h" #include "php_http_api.h" -#include - -#if defined(HAVE_CURL) && HAVE_CURL -# ifdef PHP_WIN32 -# include -# include -# endif -#include -#include -#endif - ZEND_DECLARE_MODULE_GLOBALS(http) /* {{{ day/month names */ -- 2.30.2