Add AI_NUMERICSERV to fake-rfc2553.

Our getaddrinfo implementation always returns numeric values already.
This commit is contained in:
Darren Tucker 2015-02-24 13:43:57 +11:00
parent ef342ab1ce
commit c9c88355c6
1 changed files with 3 additions and 0 deletions

View File

@ -109,6 +109,9 @@ struct sockaddr_in6 {
#ifndef AI_NUMERICHOST
# define AI_NUMERICHOST (1<<2)
#endif
#ifndef AI_NUMERICSERV
# define AI_NUMERICSERV (1<<3)
#endif
#ifndef NI_MAXSERV
# define NI_MAXSERV 32