mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Fix Linux build.
This commit is contained in:
parent
a2d2c0418d
commit
2189fe94ed
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue