mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
libdns: Provide replacement for EPROTO.
* dirmngr/dns.c (EPROTO) ![EPROTO]: Define to EPROTONOSUPPORT. -- This is the same replacement we use in Libassuan (commit 8ab3b9273524bd344bdb90dd5d3bc8e5f53ead6e) to make it work on OpenBSD and may other BSD based OSes. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
20dfcfe08c
commit
0fadff9cdd
1 changed files with 4 additions and 0 deletions
|
@ -288,6 +288,10 @@ int dns_v_api(void) {
|
|||
*
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
#ifndef EPROTO
|
||||
# define EPROTO EPROTONOSUPPORT
|
||||
#endif
|
||||
|
||||
#if _WIN32
|
||||
|
||||
#define DNS_EINTR WSAEINTR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue