#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_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
#include "config.h"
#endif
+#include <ctype.h>
+
+#if defined(HAVE_CURL) && HAVE_CURL
+# ifdef PHP_WIN32
+# include <winsock2.h>
+# include <sys/types.h>
+# endif
+#include <curl/curl.h>
+#include <curl/easy.h>
+#endif
+
#include "php.h"
#include "php_version.h"
#include "php_streams.h"
#include "php_http.h"
#include "php_http_api.h"
-#include <ctype.h>
-
-#if defined(HAVE_CURL) && HAVE_CURL
-# ifdef PHP_WIN32
-# include <winsock2.h>
-# include <sys/types.h>
-# endif
-#include <curl/curl.h>
-#include <curl/easy.h>
-#endif
-
ZEND_DECLARE_MODULE_GLOBALS(http)
/* {{{ day/month names */