From b2bf1bfc9f7f86cd86f677ebab012b962d5619f3 Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Wed, 4 Feb 2004 21:59:45 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2957 --- client/net_xfer.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/net_xfer.C b/client/net_xfer.C index db33d732f9..3214b3355b 100644 --- a/client/net_xfer.C +++ b/client/net_xfer.C @@ -72,8 +72,10 @@ typedef int socklen_t; #elif defined ( __APPLE__) typedef int32_t socklen_t; #elif !GETSOCKOPT_SOCKLEN_T +#ifndef socklen_t typedef size_t socklen_t; #endif +#endif int get_socket_error(int fd) { socklen_t intsize = sizeof(int);