summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-02-26 20:50:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-02-26 20:50:25 +0000
commit57d853dd13d449e197fa03a70b05be0303330bd6 (patch)
tree8f6ef32a27dda66a95740bc8f317aab75be27514 /lib
parent623a66f07397fb9403c0576dfb64ae959e5bef34 (diff)
need more #include files for resolv.h, for the non-YP case, which happens
on the install media... ok eric
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/asr/getaddrinfo_async.c4
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>