dirmngr,w32: Remove gethostbyname hack and make it build again.
authorWerner Koch <wk@gnupg.org>
Mon, 26 Oct 2015 14:53:31 +0000 (15:53 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 26 Oct 2015 15:34:19 +0000 (16:34 +0100)
commit7735bbe539af35ce16e270946d5ae798c5989d6e
treef2c420872907378b299371ae16786027e043d73c
parentc18fb0d99b633bb267dead6e7c46229f4b780bc3
dirmngr,w32: Remove gethostbyname hack and make it build again.

* dirmngr/http.c (connect_server) [W32]: Remove gethostbyname hack;
we require getaddrinfo anyway.
* dirmngr/dns-stuff.c (AI_ADDRCONFIG): Add replacement if not defined.
(map_eai_to_gpg_error) [W32]: Take care of unsupported codes.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/dns-stuff.c
dirmngr/http.c