diff options
author | ume <ume@FreeBSD.org> | 2005-04-27 19:12:57 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-04-27 19:12:57 +0000 |
commit | 1dcbf1fa6d10d13dbb22aa0e0ad569b2a28c7791 (patch) | |
tree | f1d491d403d53c0fef47cc270774d55fecb9f7c7 /lib/libc/net/gethostbydns.c | |
parent | 1fe881be97fa062a16300a9d2185651b35c1e065 (diff) | |
download | FreeBSD-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.c | 1 |
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) |