Merge pull request #40 from ucloud/bugfix_fix_tcp_IN_undefine
fix tcp _IN_ undefine
This commit is contained in:
commit
a770ea817d
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue