diff --git a/src/test/cpp/common/jtag.h b/src/test/cpp/common/jtag.h index 868c74556..cca1ad2e7 100644 --- a/src/test/cpp/common/jtag.h +++ b/src/test/cpp/common/jtag.h @@ -82,7 +82,7 @@ class Jtag : public TimeProcess{ memset(serverAddr.sin_zero, '\0', sizeof serverAddr.sin_zero); //---- Bind the address struct to the socket ----// - bind(serverSocket, (struct sockaddr *) &serverAddr, sizeof(serverAddr)); + ::bind(serverSocket, (struct sockaddr *) &serverAddr, sizeof(serverAddr)); //---- Listen on the socket, with 5 max connection requests queued ----// listen(serverSocket,1); @@ -174,4 +174,4 @@ class Jtag : public TimeProcess{ schedule(tooglePeriod); } -}; \ No newline at end of file +};