Merge pull request #40 from ucloud/bugfix_fix_tcp_IN_undefine

fix tcp _IN_ undefine
This commit is contained in:
ethanDu1 2020-06-29 11:45:07 +08:00 committed by GitHub
commit a770ea817d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;