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/getrrsetbyname_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/getrrsetbyname_async.c')
-rw-r--r-- | lib/libc/asr/getrrsetbyname_async.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/asr/getrrsetbyname_async.c b/lib/libc/asr/getrrsetbyname_async.c index 3f23d7bf3cd..8bc81e628c0 100644 --- a/lib/libc/asr/getrrsetbyname_async.c +++ b/lib/libc/asr/getrrsetbyname_async.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getrrsetbyname_async.c,v 1.6 2014/03/25 19:48:11 eric Exp $ */ +/* $OpenBSD: getrrsetbyname_async.c,v 1.7 2014/03/26 18:13:15 eric Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -16,19 +16,20 @@ */ #include <sys/types.h> +#include <sys/socket.h> #include <sys/uio.h> #include <netinet/in.h> #include <arpa/nameser.h> +#include <netdb.h> +#include <asr.h> #include <err.h> #include <errno.h> -#include <netdb.h> #include <resolv.h> #include <stdlib.h> #include <string.h> #include <unistd.h> -#include "asr.h" #include "asr_private.h" static int getrrsetbyname_async_run(struct asr_query *, struct asr_result *); @@ -169,7 +170,7 @@ getrrsetbyname_async_run(struct asr_query *as, struct asr_result *ar) /* The rest of this file is taken from the orignal implementation. */ -/* $OpenBSD: getrrsetbyname_async.c,v 1.6 2014/03/25 19:48:11 eric Exp $ */ +/* $OpenBSD: getrrsetbyname_async.c,v 1.7 2014/03/26 18:13:15 eric Exp $ */ /* * Copyright (c) 2001 Jakob Schlyter. All rights reserved. |