summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/gethostbyht.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/gethostbyht.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/gethostbyht.c')
-rw-r--r--lib/libc/net/gethostbyht.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/net/gethostbyht.c b/lib/libc/net/gethostbyht.c
index e414058..0318adb 100644
--- a/lib/libc/net/gethostbyht.c
+++ b/lib/libc/net/gethostbyht.c
@@ -69,6 +69,7 @@ __FBSDID("$FreeBSD$");
#include <nsswitch.h>
#include <arpa/nameser.h> /* XXX */
#include <resolv.h> /* XXX */
+#include "netdb_private.h"
#define MAXALIASES 35
OpenPOWER on IntegriCloud