aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirmngr/dns.c')
-rw-r--r--dirmngr/dns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dirmngr/dns.c b/dirmngr/dns.c
index 4b61b72c2..b580e4031 100644
--- a/dirmngr/dns.c
+++ b/dirmngr/dns.c
@@ -288,6 +288,10 @@ int dns_v_api(void) {
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+#ifndef EPROTO
+# define EPROTO EPROTONOSUPPORT
+#endif
+
#if _WIN32
#define DNS_EINTR WSAEINTR