From 47064e924395d11264d3598c9a4e9f51fcebbd5c Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 29 Feb 2008 01:27:57 +0000 Subject: [PATCH] DEVEL15-windows-libadmin-closesocket-20080228 LICENSE MIT On Windows close() does not apply to sockets, use closesocket() instead. (cherry picked from commit 502aca9e8ccff36d0c10203c66200e526d2273b3) --- src/libadmin/client/afs_clientAdmin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libadmin/client/afs_clientAdmin.c b/src/libadmin/client/afs_clientAdmin.c index 806e50a516..f3c23ca40f 100644 --- a/src/libadmin/client/afs_clientAdmin.c +++ b/src/libadmin/client/afs_clientAdmin.c @@ -24,6 +24,7 @@ RCSID #include #include #include +#define close(x) closesocket(x) #else #include #include