diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2002-02-05 23:43:43 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2002-02-05 23:43:43 +0000 |
| commit | 8d6301358e34f15e019022cc5321bbd950a1fa01 (patch) | |
| tree | ca23ccb17e63c2c0a7eeb6827d3211f8f37a1089 /lib/libc/net/getaddrinfo.c | |
| parent | 64eecf3a43ff4eace513b9aa6667dc9abec56050 (diff) | |
Notes
Diffstat (limited to 'lib/libc/net/getaddrinfo.c')
| -rw-r--r-- | lib/libc/net/getaddrinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c index d98aba4e6d55..dbfb888af3a3 100644 --- a/lib/libc/net/getaddrinfo.c +++ b/lib/libc/net/getaddrinfo.c @@ -91,6 +91,9 @@ #include <netinet/in.h> #include <arpa/inet.h> #include <arpa/nameser.h> +#include <rpc/rpc.h> +#include <rpcsvc/yp_prot.h> +#include <rpcsvc/ypclnt.h> #include <netdb.h> #include <resolv.h> #include <string.h> @@ -245,6 +248,7 @@ static int _files_getaddrinfo __P((void *, void *, va_list)); #ifdef YP static struct addrinfo *_yphostent __P((char *, const struct addrinfo *)); static int _yp_getaddrinfo __P((void *, void *, va_list)); +extern int _yp_check __P(char **)); #endif static int res_queryN __P((const char *, struct res_target *)); |
