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 de1748f6..7da87142 100644
--- a/fake-getaddrinfo.h
+++ b/fake-getaddrinfo.h
@@ -7,6 +7,7 @@
#ifndef AI_PASSIVE
# define AI_PASSIVE 1
+# define AI_CANONNAME 2
#endif
#ifndef NI_NUMERICHOST
@@ -25,7 +26,7 @@ struct addrinfo {
char *ai_canonname; /* canonical name for hostname */
struct sockaddr *ai_addr; /* binary address */
struct addrinfo *ai_next; /* next structure in linked list */
-}
+};
#endif /* !HAVE_STRUCT_ADDRINFO */
#ifndef HAVE_GETADDRINFO