diff options
Diffstat (limited to 'openbsd-compat/fake-getaddrinfo.h')
-rw-r--r-- | openbsd-compat/fake-getaddrinfo.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/openbsd-compat/fake-getaddrinfo.h b/openbsd-compat/fake-getaddrinfo.h index 6943378e9..eaba323d1 100644 --- a/openbsd-compat/fake-getaddrinfo.h +++ b/openbsd-compat/fake-getaddrinfo.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: fake-getaddrinfo.h,v 1.4 2003/02/24 01:35:09 djm Exp $ */ | 1 | /* $Id: fake-getaddrinfo.h,v 1.5 2003/06/04 23:48:33 djm Exp $ */ |
2 | 2 | ||
3 | #ifndef _FAKE_GETADDRINFO_H | 3 | #ifndef _FAKE_GETADDRINFO_H |
4 | #define _FAKE_GETADDRINFO_H | 4 | #define _FAKE_GETADDRINFO_H |
@@ -8,14 +8,9 @@ | |||
8 | #include "fake-gai-errnos.h" | 8 | #include "fake-gai-errnos.h" |
9 | 9 | ||
10 | #ifndef AI_PASSIVE | 10 | #ifndef AI_PASSIVE |
11 | # define AI_PASSIVE 1 | 11 | # define AI_PASSIVE (1) |
12 | # define AI_CANONNAME 2 | 12 | # define AI_CANONNAME (1<<1) |
13 | #endif | 13 | # define AI_NUMERICHOST (1<<2) |
14 | |||
15 | #ifndef NI_NUMERICHOST | ||
16 | # define NI_NUMERICHOST 2 | ||
17 | # define NI_NAMEREQD 4 | ||
18 | # define NI_NUMERICSERV 8 | ||
19 | #endif | 14 | #endif |
20 | 15 | ||
21 | #ifndef HAVE_STRUCT_ADDRINFO | 16 | #ifndef HAVE_STRUCT_ADDRINFO |