mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-30 02:47:56 +08:00
netdb.h should be included for getaddrinfo.
This commit is contained in:
parent
c0a5c23084
commit
47e38ca99f
@ -8,6 +8,7 @@ extern "C" {
|
||||
#include "../stdlib/acl_define.h"
|
||||
#ifdef ACL_UNIX
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user