diff options
author | Darren Tucker <dtucker@zip.com.au> | 2015-02-24 13:43:57 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2015-02-24 13:43:57 +1100 |
commit | c9c88355c6a27a908e7d1e5003a2b35ea99c1614 (patch) | |
tree | 3499de0a1ca4fd7fe1b9bb74a078989b41af9a9e | |
parent | ef342ab1ce6fb9a4b30186c89c309d0ae9d0eeb4 (diff) |
Add AI_NUMERICSERV to fake-rfc2553.
Our getaddrinfo implementation always returns numeric values already.
-rw-r--r-- | openbsd-compat/fake-rfc2553.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h index 3e9090fc8..6426f7bf6 100644 --- a/openbsd-compat/fake-rfc2553.h +++ b/openbsd-compat/fake-rfc2553.h | |||
@@ -109,6 +109,9 @@ struct sockaddr_in6 { | |||
109 | #ifndef AI_NUMERICHOST | 109 | #ifndef AI_NUMERICHOST |
110 | # define AI_NUMERICHOST (1<<2) | 110 | # define AI_NUMERICHOST (1<<2) |
111 | #endif | 111 | #endif |
112 | #ifndef AI_NUMERICSERV | ||
113 | # define AI_NUMERICSERV (1<<3) | ||
114 | #endif | ||
112 | 115 | ||
113 | #ifndef NI_MAXSERV | 116 | #ifndef NI_MAXSERV |
114 | # define NI_MAXSERV 32 | 117 | # define NI_MAXSERV 32 |