summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/gethostbydns.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-04-27 19:12:57 +0000
committerume <ume@FreeBSD.org>2005-04-27 19:12:57 +0000
commit1dcbf1fa6d10d13dbb22aa0e0ad569b2a28c7791 (patch)
treef1d491d403d53c0fef47cc270774d55fecb9f7c7 /lib/libc/net/gethostbydns.c
parent1fe881be97fa062a16300a9d2185651b35c1e065 (diff)
downloadFreeBSD-src-1dcbf1fa6d10d13dbb22aa0e0ad569b2a28c7791.zip
FreeBSD-src-1dcbf1fa6d10d13dbb22aa0e0ad569b2a28c7791.tar.gz
hide implementation specific internal functions from netdb.h.
it is needed to make get{host,net}by*() thread-safe.
Diffstat (limited to 'lib/libc/net/gethostbydns.c')
-rw-r--r--lib/libc/net/gethostbydns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c
index 8491207..cc67011 100644
--- a/lib/libc/net/gethostbydns.c
+++ b/lib/libc/net/gethostbydns.c
@@ -79,6 +79,7 @@ __FBSDID("$FreeBSD$");
#include <stdarg.h>
#include <nsswitch.h>
+#include "netdb_private.h"
#include "res_config.h"
#define SPRINTF(x) ((size_t)sprintf x)
OpenPOWER on IntegriCloud