From 8027ce0c75f882de0523e668defa0bc3c8564e96 Mon Sep 17 00:00:00 2001 From: kenshi84 Date: Fri, 27 Jan 2017 00:07:23 +0900 Subject: extract some basic code from libcryptonote_core into libcryptonote_basic --- src/common/CMakeLists.txt | 1 + src/common/dns_utils.cpp | 2 +- src/common/dns_utils.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 1864c7835..ecaf52120 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -69,6 +69,7 @@ monero_add_library(common ${common_private_headers}) target_link_libraries(common PUBLIC + epee crypto ${UNBOUND_LIBRARY} ${LIBUNWIND_LIBRARIES} diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp index 83259bc70..5ff39574c 100644 --- a/src/common/dns_utils.cpp +++ b/src/common/dns_utils.cpp @@ -29,7 +29,7 @@ #include "common/command_line.h" #include "common/i18n.h" #include "common/dns_utils.h" -#include "cryptonote_core/cryptonote_basic_impl.h" +#include "cryptonote_basic/cryptonote_basic_impl.h" #include #include // check local first (in the event of static or in-source compilation of libunbound) diff --git a/src/common/dns_utils.h b/src/common/dns_utils.h index 8a63a8129..6ecf5595c 100644 --- a/src/common/dns_utils.h +++ b/src/common/dns_utils.h @@ -29,7 +29,7 @@ #include #include -#include "cryptonote_core/cryptonote_basic.h" +#include "cryptonote_basic/cryptonote_basic.h" namespace tools { -- cgit v1.2.3