summaryrefslogtreecommitdiffstats
path: root/mcop/unixserver.cc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-08-19 12:40:38 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-08-19 12:40:54 +0200
commitd10ad97ae94b8ceeace7700421aa8c27e2a960ee (patch)
treea6863f4163d30c9a34db4e9ba551d8c57cd86123 /mcop/unixserver.cc
parentf93e65b4fee39fa153772da57288cbfbcec371b9 (diff)
downloadarts-d10ad97ae94b8ceeace7700421aa8c27e2a960ee.tar.gz
arts-d10ad97ae94b8ceeace7700421aa8c27e2a960ee.zip
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 0184742fd6dda45b4c3ac2f26eb60ec9a8ccedf3)
Diffstat (limited to 'mcop/unixserver.cc')
-rw-r--r--mcop/unixserver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcop/unixserver.cc b/mcop/unixserver.cc
index acb3496..d70fe8e 100644
--- a/mcop/unixserver.cc
+++ b/mcop/unixserver.cc
@@ -98,7 +98,7 @@ bool UnixServer::initSocket(const string& serverID)
xserverpath = socket_addr.sun_path;
- if ( bind( theSocket, (struct sockaddr *) &socket_addr,
+ if ( ::bind( theSocket, (struct sockaddr *) &socket_addr,
sizeof(struct sockaddr_un) ) < 0 )
{
arts_warning("MCOP UnixServer: can't bind to file \"%s\"",