3de906b7a8
DragonFly needs the same socklet_t modification as the other BSDs.
15 lines
984 B
Text
15 lines
984 B
Text
$NetBSD: patch-ac,v 1.3 2011/12/02 20:52:50 marino Exp $
|
|
|
|
Get socklen_t defined correctly.
|
|
|
|
--- gsoap/stdsoap2.h.orig 2010-05-09 18:10:13.000000000 +0000
|
|
+++ gsoap/stdsoap2.h
|
|
@@ -715,7 +715,7 @@ extern "C" {
|
|
# endif
|
|
#elif defined(SOCKLEN_T)
|
|
# define SOAP_SOCKLEN_T SOCKLEN_T
|
|
-#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(OPENBSD) || defined(__QNX__) || defined(QNX) || defined(OS390) || defined(HP_UX)
|
|
+#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(OPENBSD) || defined(__QNX__) || defined(QNX) || defined(OS390) || defined(HP_UX) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
|
# define SOAP_SOCKLEN_T socklen_t
|
|
#elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS)
|
|
# define SOAP_SOCKLEN_T int
|