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/logging.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/logging.c') diff --git a/common/logging.c b/common/logging.c index 4c2d61b1e..5a61c609c 100644 --- a/common/logging.c +++ b/common/logging.c @@ -68,6 +68,9 @@ #ifndef EAFNOSUPPORT # define EAFNOSUPPORT EINVAL #endif +#ifndef INADDR_NONE /* Slowaris is missing that. */ +#define INADDR_NONE ((unsigned long)(-1)) +#endif /*INADDR_NONE*/ #ifdef HAVE_W32_SYSTEM #define sock_close(a) closesocket(a) -- cgit v1.2.3