diff options
author | 2014-02-26 20:50:24 +0000 | |
---|---|---|
committer | 2014-02-26 20:50:24 +0000 | |
commit | 0af765e74c6fdcf437994d9d94bce71f85ebe4a7 (patch) | |
tree | c5eeef8c0d6d9fe761920841f8ae11b66db69259 /lib/libc/asr/getaddrinfo_async.c | |
parent | There is no need to init a global to 0 (diff) | |
download | wireguard-openbsd-0af765e74c6fdcf437994d9d94bce71f85ebe4a7.tar.xz wireguard-openbsd-0af765e74c6fdcf437994d9d94bce71f85ebe4a7.zip |
need more #include files for resolv.h, for the non-YP case, which happens
on the install media...
ok eric
Diffstat (limited to 'lib/libc/asr/getaddrinfo_async.c')
-rw-r--r-- | lib/libc/asr/getaddrinfo_async.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/asr/getaddrinfo_async.c b/lib/libc/asr/getaddrinfo_async.c index b573dac081a..f04489e73e9 100644 --- a/lib/libc/asr/getaddrinfo_async.c +++ b/lib/libc/asr/getaddrinfo_async.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getaddrinfo_async.c,v 1.21 2014/02/26 20:00:08 eric Exp $ */ +/* $OpenBSD: getaddrinfo_async.c,v 1.22 2014/02/26 20:50:24 deraadt Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -17,6 +17,8 @@ #include <sys/types.h> #include <sys/uio.h> +#include <sys/socket.h> +#include <netinet/in.h> #include <arpa/nameser.h> #ifdef YP #include <rpc/rpc.h> |