diff --git a/lib/gui_rpc_client.C b/lib/gui_rpc_client.C index 86e3585326..c57e33d426 100644 --- a/lib/gui_rpc_client.C +++ b/lib/gui_rpc_client.C @@ -720,9 +720,9 @@ RPC_CLIENT::~RPC_CLIENT() { // void RPC_CLIENT::close() { #ifdef _WIN32 - closesocket(sock); + ::closesocket(sock); #else - close(sock); + ::close(sock); #endif }