$NetBSD: patch-ai,v 1.14 2006/08/02 14:02:00 markd Exp $ --- kresources/groupwise/soap/stdsoap2.h.orig 2006-07-24 02:21:19.000000000 +1200 +++ kresources/groupwise/soap/stdsoap2.h @@ -545,7 +545,7 @@ extern "C" { /* Portability: define SOAP_SOCKLEN_T */ #if defined(SOCKLEN_T) # define SOAP_SOCKLEN_T SOCKLEN_T -#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(__QNX__) || defined(QNX) || defined(_AIX) +#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(__QNX__) || defined(QNX) || defined(_AIX) || defined(__NetBSD__) || defined(__DragonFly__) # define SOAP_SOCKLEN_T socklen_t #elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(__osf__) || defined(VXWORKS) # define SOAP_SOCKLEN_T int