mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-10 21:04:37 +00:00
Fix Linux build.
This commit is contained in:
parent
45e8a0525c
commit
259a1774ca
4 changed files with 4 additions and 3 deletions
|
@ -29,9 +29,9 @@
|
|||
|
||||
|
||||
#include "App.h"
|
||||
#include "common/log/Log.h"
|
||||
#include "core/Config.h"
|
||||
#include "core/Controller.h"
|
||||
#include "log/Log.h"
|
||||
|
||||
|
||||
void App::background()
|
||||
|
|
|
@ -27,10 +27,10 @@
|
|||
#include <sys/mman.h>
|
||||
|
||||
|
||||
#include "common/log/Log.h"
|
||||
#include "common/utils/mm_malloc.h"
|
||||
#include "common/xmrig.h"
|
||||
#include "crypto/CryptoNight.h"
|
||||
#include "log/Log.h"
|
||||
#include "Mem.h"
|
||||
|
||||
|
||||
|
|
|
@ -58,6 +58,7 @@ public:
|
|||
inline uint32_t *nonce() { return reinterpret_cast<uint32_t*>(m_blob + 39); }
|
||||
inline uint32_t diff() const { return static_cast<uint32_t>(m_diff); }
|
||||
inline uint64_t target() const { return m_target; }
|
||||
inline void reset() { m_size = 0; m_diff = 0; }
|
||||
inline void setClientId(const xmrig::Id &id) { m_clientId = id; }
|
||||
inline void setPoolId(int poolId) { m_poolId = poolId; }
|
||||
inline void setThreadId(int threadId) { m_threadId = threadId; }
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
|
||||
#ifdef HAVE_SYSLOG_H
|
||||
# include "log/SysLog.h"
|
||||
# include "common/log/SysLog.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue