summaryrefslogtreecommitdiff
path: root/fake-getaddrinfo.h
diff options
context:
space:
mode:
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