fix tcp _IN_ undefine

This commit is contained in:
ethan.du 2020-06-29 11:43:59 +08:00
parent d3ca709af5
commit dbcb3bb27d
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
#include "netdb.h" #include "netdb.h"
#include "sockets.h" #include "sockets.h"
#include "uiot_import.h"
uintptr_t HAL_TCP_Connect(_IN_ const char *host, _IN_ uint16_t port) { uintptr_t HAL_TCP_Connect(_IN_ const char *host, _IN_ uint16_t port) {
struct addrinfo hints; struct addrinfo hints;

View File

@ -18,6 +18,7 @@
#include "netdb.h" #include "netdb.h"
#include "sockets.h" #include "sockets.h"
#include "uiot_import.h"
uintptr_t HAL_TCP_Connect(_IN_ const char *host, _IN_ uint16_t port) { uintptr_t HAL_TCP_Connect(_IN_ const char *host, _IN_ uint16_t port) {
struct addrinfo hints; struct addrinfo hints;