diff --git a/platform/os/freertos/HAL_TCP_freertos.c b/platform/os/freertos/HAL_TCP_freertos.c index a3761a6..2fef5aa 100644 --- a/platform/os/freertos/HAL_TCP_freertos.c +++ b/platform/os/freertos/HAL_TCP_freertos.c @@ -18,6 +18,7 @@ #include "netdb.h" #include "sockets.h" +#include "uiot_import.h" uintptr_t HAL_TCP_Connect(_IN_ const char *host, _IN_ uint16_t port) { struct addrinfo hints; diff --git a/platform/os/nos/HAL_TCP_nos.c b/platform/os/nos/HAL_TCP_nos.c index a3761a6..2fef5aa 100644 --- a/platform/os/nos/HAL_TCP_nos.c +++ b/platform/os/nos/HAL_TCP_nos.c @@ -18,6 +18,7 @@ #include "netdb.h" #include "sockets.h" +#include "uiot_import.h" uintptr_t HAL_TCP_Connect(_IN_ const char *host, _IN_ uint16_t port) { struct addrinfo hints;