FreeRTOS+TCP v2.2.2 does not compile when ipconfigUSE_TCP is set to 0

FreeRTOS_Sockets.c and FreeRTOS_TCP_WIN.c do not compile when ipconfigUSE_TCP is disabled in FreeRTOSIPConfig.h.

Suggested fixes:

Add #if (ipconfigUSE_TCP == 1)/#endif guards around the following code:

FreeRTOS_Sockets.c: Declaration and implementation of prvSockopt_so_buffer().

FreeRTOS_TCP_WIN.c: All source code.

Thanks for taking the time to report. Grateful if you can open a bug here: https://github.com/FreeRTOS/FreeRTOS/issues