Fix Linux build.

This commit is contained in:
XMRig 2018-04-21 21:41:39 +07:00
parent 45e8a0525c
commit 259a1774ca
4 changed files with 4 additions and 3 deletions

View file

@ -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()

View file

@ -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"

View file

@ -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; }

View file

@ -38,7 +38,7 @@
#ifdef HAVE_SYSLOG_H
# include "log/SysLog.h"
# include "common/log/SysLog.h"
#endif