summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2015-02-24 13:43:57 +1100
committerDarren Tucker <dtucker@zip.com.au>2015-02-24 13:43:57 +1100
commitc9c88355c6a27a908e7d1e5003a2b35ea99c1614 (patch)
tree3499de0a1ca4fd7fe1b9bb74a078989b41af9a9e
parentef342ab1ce6fb9a4b30186c89c309d0ae9d0eeb4 (diff)
Add AI_NUMERICSERV to fake-rfc2553.
Our getaddrinfo implementation always returns numeric values already.
-rw-r--r--openbsd-compat/fake-rfc2553.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h
index 3e9090fc..6426f7bf 100644
--- a/openbsd-compat/fake-rfc2553.h
+++ b/openbsd-compat/fake-rfc2553.h
@@ -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