summaryrefslogtreecommitdiff
path: root/fake-getaddrinfo.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-16 18:19:25 +1100
committerDamien Miller <djm@mindrot.org>2000-01-16 18:19:25 +1100
commit8f926494419b922e3c005f06f65d4ea4523cdfda (patch)
treed9168993bc97fdbdc88ed41149eb8a2558f74e1b /fake-getaddrinfo.h
parent5eed6a2d71a62ab575f0557d09ba5404f2ffe055 (diff)
- Compilation fix from Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to 'fake-getaddrinfo.h')
-rw-r--r--fake-getaddrinfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fake-getaddrinfo.h b/fake-getaddrinfo.h
index de1748f6f..7da87142d 100644
--- a/fake-getaddrinfo.h
+++ b/fake-getaddrinfo.h
@@ -7,6 +7,7 @@
7 7
8#ifndef AI_PASSIVE 8#ifndef AI_PASSIVE
9# define AI_PASSIVE 1 9# define AI_PASSIVE 1
10# define AI_CANONNAME 2
10#endif 11#endif
11 12
12#ifndef NI_NUMERICHOST 13#ifndef NI_NUMERICHOST
@@ -25,7 +26,7 @@ struct addrinfo {
25 char *ai_canonname; /* canonical name for hostname */ 26 char *ai_canonname; /* canonical name for hostname */
26 struct sockaddr *ai_addr; /* binary address */ 27 struct sockaddr *ai_addr; /* binary address */
27 struct addrinfo *ai_next; /* next structure in linked list */ 28 struct addrinfo *ai_next; /* next structure in linked list */
28} 29};
29#endif /* !HAVE_STRUCT_ADDRINFO */ 30#endif /* !HAVE_STRUCT_ADDRINFO */
30 31
31#ifndef HAVE_GETADDRINFO 32#ifndef HAVE_GETADDRINFO