* move includes around
[m6w6/ext-http] / http_api.c
index ea11f1099a6751b3d766b8b730d0931b48cc1139..adef9a2f8afad8c9370db2dcd8b8c11a0a87d41d 100644 (file)
 #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 */