From bfbd80feb95fba36292cd9dab43016f17b1e6972 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 1 Oct 2010 20:33:53 +0000 Subject: Exporting secret keys via gpg-agent is now basically supported. A couple of forward ported changes. Doc updates. --- common/http.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/http.c') diff --git a/common/http.c b/common/http.c index 1e3e89790..1d84051a2 100644 --- a/common/http.c +++ b/common/http.c @@ -114,6 +114,9 @@ struct srventry #ifndef EAGAIN #define EAGAIN EWOULDBLOCK #endif +#ifndef INADDR_NONE /* Slowaris is missing that. */ +#define INADDR_NONE ((unsigned long)(-1)) +#endif /*INADDR_NONE*/ #define HTTP_PROXY_ENV "http_proxy" #define MAX_LINELEN 20000 /* Max. length of a HTTP header line. */ -- cgit v1.2.3