diff options
Diffstat (limited to '')
-rw-r--r-- | common/logging.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |