aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gsoap/stdsoap2.h.diff
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gsoap/stdsoap2.h.diff')
-rw-r--r--testing/gsoap/stdsoap2.h.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/gsoap/stdsoap2.h.diff b/testing/gsoap/stdsoap2.h.diff
new file mode 100644
index 0000000000..f21310a523
--- /dev/null
+++ b/testing/gsoap/stdsoap2.h.diff
@@ -0,0 +1,11 @@
+--- gsoap-2.8.orig/gsoap/stdsoap2.h
++++ gsoap-2.8/gsoap/stdsoap2.h
+@@ -859,7 +859,7 @@
+ # 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(__ANDROID__) || defined(_XOPEN_SOURCE)
++#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(OPENBSD) || defined(__QNX__) || defined(QNX) || defined(OS390) || defined(__ANDROID__) || defined(_XOPEN_SOURCE) || defined (LINUX)
+ # define SOAP_SOCKLEN_T socklen_t
+ #elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS) || defined(HP_UX)
+ # define SOAP_SOCKLEN_T int