From dbcb3bb27d9bd62b30eb445a41f161d332270059 Mon Sep 17 00:00:00 2001 From: "ethan.du" Date: Mon, 29 Jun 2020 11:43:59 +0800 Subject: [PATCH] fix tcp _IN_ undefine --- platform/os/freertos/HAL_TCP_freertos.c | 1 + platform/os/nos/HAL_TCP_nos.c | 1 + 2 files changed, 2 insertions(+) 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;