diff --git a/client/gui_rpc_server.cpp b/client/gui_rpc_server.cpp index 573e8a4aa3..936734d0e3 100644 --- a/client/gui_rpc_server.cpp +++ b/client/gui_rpc_server.cpp @@ -224,7 +224,7 @@ int GUI_RPC_CONN_SET::insert(GUI_RPC_CONN* p) { int GUI_RPC_CONN_SET::init_unix_domain() { #if !defined(_WIN32) && !defined(__APPLE__) - sockaddr_un addr; + struct sockaddr_un addr; get_password(); int retval = boinc_socket(lsock, AF_UNIX); if (retval) {