diff --git a/testsuites/libtests/mghttpd01/test-http-client.c b/testsuites/libtests/mghttpd01/test-http-client.c index 6e78457468..da3953cfee 100644 --- a/testsuites/libtests/mghttpd01/test-http-client.c +++ b/testsuites/libtests/mghttpd01/test-http-client.c @@ -12,7 +12,6 @@ * http://www.rtems.com/license/LICENSE. */ -#include "test-http-client.h" #include #include @@ -21,6 +20,8 @@ #include #include +#include "test-http-client.h" + void httpc_init_context( httpc_context *ctx ) @@ -38,7 +39,6 @@ bool httpc_open_connection( struct sockaddr_in addr; struct hostent *server; - struct servent *service; ctx->socket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if(ctx->socket < 0) { return false; }