diff --git a/tests/http/clients/h2-download.c b/tests/http/clients/h2-download.c index d87ee01e1b..dd621d3f4f 100644 --- a/tests/http/clients/h2-download.c +++ b/tests/http/clients/h2-download.c @@ -25,6 +25,11 @@ * HTTP/2 server push * */ + +/* curl stuff */ +#include +#include + #include #include #include @@ -33,10 +38,6 @@ #include #include -/* curl stuff */ -#include -#include - #ifndef CURLPIPE_MULTIPLEX #error "too old libcurl, cannot do HTTP/2 server push!" #endif diff --git a/tests/http/clients/h2-serverpush.c b/tests/http/clients/h2-serverpush.c index 5a1eb3c91c..742a67e596 100644 --- a/tests/http/clients/h2-serverpush.c +++ b/tests/http/clients/h2-serverpush.c @@ -25,6 +25,11 @@ * HTTP/2 server push * */ + +/* curl stuff */ +#include +#include + #include #include #include @@ -33,10 +38,6 @@ #include #include -/* curl stuff */ -#include -#include - #ifndef CURLPIPE_MULTIPLEX #error "too old libcurl, cannot do HTTP/2 server push!" #endif diff --git a/tests/http/clients/ws-data.c b/tests/http/clients/ws-data.c index 93bea4ee75..d055ede3c6 100644 --- a/tests/http/clients/ws-data.c +++ b/tests/http/clients/ws-data.c @@ -25,6 +25,11 @@ * Websockets data echos * */ + +/* curl stuff */ +#include "curl_setup.h" +#include + #include #include #include @@ -33,11 +38,6 @@ #include #include - -/* curl stuff */ -#include -#include "curl_setup.h" - #ifdef USE_WEBSOCKETS static diff --git a/tests/http/clients/ws-pingpong.c b/tests/http/clients/ws-pingpong.c index d8cab976e8..59d4bd1e65 100644 --- a/tests/http/clients/ws-pingpong.c +++ b/tests/http/clients/ws-pingpong.c @@ -25,6 +25,11 @@ * Websockets pingpong * */ + +/* curl stuff */ +#include "curl_setup.h" +#include + #include #include #include @@ -33,11 +38,6 @@ #include #include - -/* curl stuff */ -#include -#include "curl_setup.h" - #ifdef USE_WEBSOCKETS static CURLcode ping(CURL *curl, const char *send_payload)