netdb.h should be included for getaddrinfo.

This commit is contained in:
zhengshuxin 2017-06-24 22:37:35 +08:00
parent c0a5c23084
commit 47e38ca99f

View File

@ -8,6 +8,7 @@ extern "C" {
#include "../stdlib/acl_define.h"
#ifdef ACL_UNIX
#include <sys/socket.h>
#include <netdb.h>
#endif
/**