From cb1119666a3a4273fa53743837b2e13f6730bc10 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 29 Mar 2009 13:26:38 +0200 Subject: getaddrinfo on Solaris 8, also fixed a 64-bit alignment cast issue around inetaddr --- include/wolf/port/netdb.h | 4 ++-- include/wolf/port/sys.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/wolf/port/netdb.h b/include/wolf/port/netdb.h index a66ff33..15ed25b 100644 --- a/include/wolf/port/netdb.h +++ b/include/wolf/port/netdb.h @@ -37,7 +37,7 @@ #ifdef SUNOS #if OS_MAJOR_VERSION == 5 -#if OS_MINOR_VERSION == 10 +#if OS_MINOR_VERSION >= 8 && OS_MINOR_VERSION <= 10 #include #endif #endif @@ -62,7 +62,7 @@ #ifdef SUNOS #if OS_MAJOR_VERSION == 5 -#if OS_MINOR_VERSION == 10 +#if OS_MINOR_VERSION >= 8 && OS_MINOR_VERSION <= 10 #include #include #include diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h index 272799b..a6b42be 100644 --- a/include/wolf/port/sys.h +++ b/include/wolf/port/sys.h @@ -183,6 +183,8 @@ #define GETTEXT_NEEDS_FORMAT_ARG #define HAVE_STRLCPY #define HAVE_STRLCAT +#define HAVE_GETADDRINFO +#define HAVE_INET_NTOP #else #if OS_MINOR_VERSION == 10 #if !defined __cplusplus -- cgit v1.2.3-54-g00ecf