Fix Linux build.

This commit is contained in:
XMRig 2018-09-17 06:37:53 +03:00
parent a2d2c0418d
commit 2189fe94ed
2 changed files with 2 additions and 2 deletions

View file

@ -156,7 +156,7 @@ else()
src/Mem_unix.cpp src/Mem_unix.cpp
) )
set(EXTRA_LIBS pthread rt) set(EXTRA_LIBS pthread rt dl)
endif() endif()
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD) if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)

View file

@ -414,7 +414,7 @@ bool Client::send(BIO *bio)
LOG_DEBUG_ERR("[%s] send failed, invalid state: %d", m_pool.url(), m_state); LOG_DEBUG_ERR("[%s] send failed, invalid state: %d", m_pool.url(), m_state);
} }
BIO_reset(bio); (void) BIO_reset(bio);
return result; return result;
# else # else