$NetBSD: patch-ac,v 1.1 2000/01/17 05:34:34 christos Exp $ --- fake-getaddrinfo.h.orig Thu Jan 13 23:45:49 2000 +++ fake-getaddrinfo.h Sun Jan 16 23:49:53 2000 @@ -5,6 +5,9 @@ #include "fake-gai-errnos.h" +#ifndef AI_CANONNAME +# define AI_CANONNAME 0 +#endif #ifndef AI_PASSIVE # define AI_PASSIVE 1 #endif @@ -25,7 +28,7 @@ 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