From cb2ec2316a69ce4a2be53c47d593de668225fa50 Mon Sep 17 00:00:00 2001 From: XMRig Date: Tue, 31 Aug 2021 00:02:55 +0700 Subject: [PATCH] Fixed build. --- src/base/kernel/config/BaseTransform.cpp | 2 +- src/core/config/Config_platform.h | 2 +- src/core/config/usage.h | 2 +- src/hw/api/api.cmake | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/base/kernel/config/BaseTransform.cpp b/src/base/kernel/config/BaseTransform.cpp index c924dd59..ecbb457d 100644 --- a/src/base/kernel/config/BaseTransform.cpp +++ b/src/base/kernel/config/BaseTransform.cpp @@ -20,7 +20,7 @@ #ifdef _MSC_VER -# include "getopt/getopt.h" +# include "3rdparty/getopt/getopt.h" #else # include #endif diff --git a/src/core/config/Config_platform.h b/src/core/config/Config_platform.h index c4379d0b..ed08dbbe 100644 --- a/src/core/config/Config_platform.h +++ b/src/core/config/Config_platform.h @@ -21,7 +21,7 @@ #ifdef _MSC_VER -# include "getopt/getopt.h" +# include "3rdparty/getopt/getopt.h" #else # include #endif diff --git a/src/core/config/usage.h b/src/core/config/usage.h index 6cd599c9..3a5f0afd 100644 --- a/src/core/config/usage.h +++ b/src/core/config/usage.h @@ -25,7 +25,7 @@ #define XMRIG_USAGE_H -#include "version.h" +#include "../version.h" #include diff --git a/src/hw/api/api.cmake b/src/hw/api/api.cmake index 7c12a2bd..b928f8f1 100644 --- a/src/hw/api/api.cmake +++ b/src/hw/api/api.cmake @@ -1,6 +1,4 @@ if (WITH_HTTP) - add_definitions(-DXMRIG_FEATURE_DMI) - list(APPEND HEADERS src/hw/api/HwApi.h) list(APPEND SOURCES src/hw/api/HwApi.cpp) endif()