From 4b59b22b3d453bca540a36c284fc8cf26697ee9d Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Wed, 24 Apr 1996 12:55:31 +0000 Subject: yp_prot.h lies -> use yp.h (from yp.x) instead, change lots of structure accesses to match. change xdr_domainname() and some other functions to take "char **" instead of "char *", as rpcgen intended -- helps programs linking against rpcgen output of yp.x. yp_all() should not free it's return value. split xdryp.c and yplib.c into ~20 files so binaries like "csh" need not link in functions like yp_maplist(). NIS+'s YP emulation code lacks YPPROC_ORDER... attempt to deal nicely. --- src/lib/libc/net/gethostnamadr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/libc') diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c index 6d8072bd79..a1fdba5f91 100644 --- a/src/lib/libc/net/gethostnamadr.c +++ b/src/lib/libc/net/gethostnamadr.c @@ -75,7 +75,7 @@ static char rcsid[] = "$NetBSD: gethostnamadr.c,v 1.13 1995/05/21 16:21:14 mycro #include #ifdef YP #include -#include +#include #include #endif -- cgit v1.2.3-55-g6feb