diff options
-rw-r--r-- | include/apr.hnw | 4 | ||||
-rw-r--r-- | include/arch/netware/apr_private.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/apr.hnw b/include/apr.hnw index 3c465870e..6e3d45623 100644 --- a/include/apr.hnw +++ b/include/apr.hnw @@ -170,7 +170,11 @@ #define APR_HAVE_IN_ADDR 1 #define APR_HAVE_INET_ADDR 1 #define APR_HAVE_INET_NETWORK 0 +#ifdef NW_BUILD_IPV6 +#define APR_HAVE_IPV6 1 +#else #define APR_HAVE_IPV6 0 +#endif #define APR_HAVE_MEMCHR 1 #define APR_HAVE_MEMMOVE 1 #define APR_HAVE_SETRLIMIT 0 diff --git a/include/arch/netware/apr_private.h b/include/arch/netware/apr_private.h index 9df1b957e..793941371 100644 --- a/include/arch/netware/apr_private.h +++ b/include/arch/netware/apr_private.h @@ -99,6 +99,10 @@ #define ALLOC_USE_MALLOC #define DSO_USE_DLFCN +#ifdef NW_BUILD_IPV6 +#define HAVE_GETADDRINFO 1 +#define HAVE_GETNAMEINFO 1 +#endif /* 1 is used for SIGABRT on netware */ /* 2 is used for SIGFPE on netware */ |