diff options
Diffstat (limited to 'resolv/resolv-deprecated.c')
-rw-r--r-- | resolv/resolv-deprecated.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/resolv/resolv-deprecated.c b/resolv/resolv-deprecated.c index d8344f8..0fe9e4f 100644 --- a/resolv/resolv-deprecated.c +++ b/resolv/resolv-deprecated.c @@ -27,6 +27,7 @@ functions. */ #include <arpa/nameser.h> +#include <resolv.h> int ns_makecanon (const char *src, char *dst, size_t dstsize) @@ -39,3 +40,10 @@ ns_samename (const char *a, const char *b) { return __libc_ns_samename (a, b); } + +int +res_nameinquery (const char *name, int type, int class, + const unsigned char *buf, const unsigned char *eom) +{ + return __libc_res_nameinquery (name, type, class, buf, eom); +} |