diff options
author | 2014-03-26 18:13:15 +0000 | |
---|---|---|
committer | 2014-03-26 18:13:15 +0000 | |
commit | d216d6b1290c53cb63da2778d039467b2c88efcf (patch) | |
tree | 03ec702a81dbdfe5797e892677107158d08f41b1 /lib/libc/asr/gethostnamadr_async.c | |
parent | The current sharing of myproposal[] between both client and server code (diff) | |
download | wireguard-openbsd-d216d6b1290c53cb63da2778d039467b2c88efcf.tar.xz wireguard-openbsd-d216d6b1290c53cb63da2778d039467b2c88efcf.zip |
Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@
ok deraadt@
Diffstat (limited to 'lib/libc/asr/gethostnamadr_async.c')
-rw-r--r-- | lib/libc/asr/gethostnamadr_async.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/asr/gethostnamadr_async.c b/lib/libc/asr/gethostnamadr_async.c index 7d27be9eedb..674bcb476a9 100644 --- a/lib/libc/asr/gethostnamadr_async.c +++ b/lib/libc/asr/gethostnamadr_async.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gethostnamadr_async.c,v 1.27 2014/03/25 19:48:11 eric Exp $ */ +/* $OpenBSD: gethostnamadr_async.c,v 1.28 2014/03/26 18:13:15 eric Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -26,7 +26,9 @@ #include <rpcsvc/ypclnt.h> #include "ypinternal.h" #endif +#include <netdb.h> +#include <asr.h> #include <ctype.h> #include <err.h> #include <errno.h> @@ -35,7 +37,6 @@ #include <string.h> #include <unistd.h> -#include "asr.h" #include "asr_private.h" #define MAXALIASES 16 |