diff options
Diffstat (limited to 'openbsd-compat/fake-rfc2553.h')
-rw-r--r-- | openbsd-compat/fake-rfc2553.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h index dbf15bb38..1a6c31e9c 100644 --- a/openbsd-compat/fake-rfc2553.h +++ b/openbsd-compat/fake-rfc2553.h | |||
@@ -35,7 +35,7 @@ | |||
35 | * that ai_family is AF_INET. Don't use it for another purpose. | 35 | * that ai_family is AF_INET. Don't use it for another purpose. |
36 | */ | 36 | */ |
37 | 37 | ||
38 | /* $Id: fake-rfc2553.h,v 1.4 2003/06/13 22:43:23 djm Exp $ */ | 38 | /* $Id: fake-rfc2553.h,v 1.5 2003/08/08 02:15:12 dtucker Exp $ */ |
39 | 39 | ||
40 | #ifndef _FAKE_RFC2553_H | 40 | #ifndef _FAKE_RFC2553_H |
41 | #define _FAKE_RFC2553_H | 41 | #define _FAKE_RFC2553_H |
@@ -88,12 +88,21 @@ struct sockaddr_in6 { | |||
88 | 88 | ||
89 | #ifndef NI_NUMERICHOST | 89 | #ifndef NI_NUMERICHOST |
90 | # define NI_NUMERICHOST (1) | 90 | # define NI_NUMERICHOST (1) |
91 | #endif | ||
92 | #ifndef NI_NAMEREQD | ||
91 | # define NI_NAMEREQD (1<<1) | 93 | # define NI_NAMEREQD (1<<1) |
94 | #endif | ||
95 | #ifndef NI_NUMERICSERV | ||
92 | # define NI_NUMERICSERV (1<<2) | 96 | # define NI_NUMERICSERV (1<<2) |
93 | #endif | 97 | #endif |
98 | |||
94 | #ifndef AI_PASSIVE | 99 | #ifndef AI_PASSIVE |
95 | # define AI_PASSIVE (1) | 100 | # define AI_PASSIVE (1) |
101 | #endif | ||
102 | #ifndef AI_CANONNAME | ||
96 | # define AI_CANONNAME (1<<1) | 103 | # define AI_CANONNAME (1<<1) |
104 | #endif | ||
105 | #ifndef AI_NUMERICHOST | ||
97 | # define AI_NUMERICHOST (1<<2) | 106 | # define AI_NUMERICHOST (1<<2) |
98 | #endif | 107 | #endif |
99 | 108 | ||