summaryrefslogtreecommitdiff
path: root/mbone/mcl/files/patch-mcl_lib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mbone/mcl/files/patch-mcl_lib.cpp')
-rw-r--r--mbone/mcl/files/patch-mcl_lib.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/mbone/mcl/files/patch-mcl_lib.cpp b/mbone/mcl/files/patch-mcl_lib.cpp
new file mode 100644
index 000000000000..c76e22fadb91
--- /dev/null
+++ b/mbone/mcl/files/patch-mcl_lib.cpp
@@ -0,0 +1,14 @@
+--- src/alc/mcl_lib.cpp.orig Tue Jul 22 19:37:39 2003
++++ src/alc/mcl_lib.cpp Wed Oct 15 16:16:55 2003
+@@ -1265,8 +1265,10 @@
+ if (id >= MCLCB_MAX_ID || (mclcb = mclcbs[id]) == NULL) {
+ TRACE((mcl_stdout, " mcl_recvfrom: not an MCL id, switch to standard recvfrom\n"))
+ return (recvfrom(id, (char*)buf, len, 0, saddr,
+-#ifdef LINUX
++#if defined(LINUX)
+ (size_t*) /* linux => uint, solaris => int */
++#elif defined(FREEBSD)
++ (socklen_t*)
+ #endif
+ saddr_len));
+ }