diff --git a/FreeRTOS-Plus/Source/Application-Protocols/network_transport/tcp_sockets_wrapper/ports/freertos_plus_tcp/tcp_sockets_wrapper.c b/FreeRTOS-Plus/Source/Application-Protocols/network_transport/tcp_sockets_wrapper/ports/freertos_plus_tcp/tcp_sockets_wrapper.c index c02eae41c9e..5d0c0c38029 100644 --- a/FreeRTOS-Plus/Source/Application-Protocols/network_transport/tcp_sockets_wrapper/ports/freertos_plus_tcp/tcp_sockets_wrapper.c +++ b/FreeRTOS-Plus/Source/Application-Protocols/network_transport/tcp_sockets_wrapper/ports/freertos_plus_tcp/tcp_sockets_wrapper.c @@ -32,6 +32,14 @@ /* Include header that defines log levels. */ #include "logging_levels.h" +/* FreeRTOS includes. */ +#include "FreeRTOS.h" + +/* FreeRTOS+TCP includes. */ +#include "FreeRTOS_IP.h" +#include "FreeRTOS_Sockets.h" +#include "FreeRTOS_DNS.h" + /* Logging configuration for the Sockets. */ #ifndef LIBRARY_LOG_NAME #define LIBRARY_LOG_NAME "SocketsWrapper" @@ -48,14 +56,6 @@ extern void vLoggingPrintf( const char * pcFormatString, /* Standard includes. */ #include -/* FreeRTOS includes. */ -#include "FreeRTOS.h" - -/* FreeRTOS+TCP includes. */ -#include "FreeRTOS_IP.h" -#include "FreeRTOS_Sockets.h" -#include "FreeRTOS_DNS.h" - /* TCP Sockets Wrapper include.*/ /* Let sockets wrapper know that Socket_t is defined already. */ #define SOCKET_T_TYPEDEFED