Rosen Penev:
> uClibc-ng does not have res_send or res_nsend. ifdef the entire function.
> ---
>  src/dns/dns_lookup.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/src/dns/dns_lookup.c b/src/dns/dns_lookup.c
> index 1ea98b3..d7771d4 100644
> --- a/src/dns/dns_lookup.c
> +++ b/src/dns/dns_lookup.c
> @@ -311,6 +311,10 @@ typedef struct DNS_REPLY {
>  static int dns_res_query(const char *name, int class, int type,
>                                unsigned char *answer, int anslen)
>  {
> +#ifdef __UCLIBC__
> +    msg_info("dns_res_query() is not supported under uClibc");
> +    return 0;
> +#else

Allright, I'll move this up one layer in the stack and clean it up a bit.

        Wietse

Reply via email to