aboutsummaryrefslogtreecommitdiff
path: root/net/mcl/files/patch-mcl_lib.cpp
blob: c76e22fadb91ccfdfeb8c04bdb4d8de42bf0897b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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));
 	}