From 614b53165e31e10e265259aacaa5dfc9b8eddf2a Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Fri, 24 Nov 2006 21:21:33 +0000 Subject: [PATCH] - Fixed compile bug on Solaris due to missing INADDR_NONE, fix provided by Schak (#0003125). --- Changes | 2 ++ include/inet.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Changes b/Changes index 419bb35ee..40aca5a36 100644 --- a/Changes +++ b/Changes @@ -1471,3 +1471,5 @@ - Fixed charsys config error message sometimes saying stuff about set::accept-language, which should be set::allowed-nickchars (the former does not exist). Reported and patch provided by avb (#0003122). +- Fixed compile bug on Solaris due to missing INADDR_NONE, fix provided by Schak + (#0003125). diff --git a/include/inet.h b/include/inet.h index 18db4e46d..52eebcf4a 100644 --- a/include/inet.h +++ b/include/inet.h @@ -81,3 +81,6 @@ struct sockaddr_storage #endif /* SOCKADDR_IN_HAS_LEN */ #endif /* HAVE_STRUCT_SOCKADDR_STORAGE */ +#ifndef INADDR_NONE +#define INADDR_NONE 0xffffffff +#endif