aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-11 00:20:40 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-11 00:20:41 +0200
commitd1b31c0f45168b1481f64a97653fd7fd8b95c661 (patch)
tree40066ffa7c7afb28907291c93863d8cfdb14920c /src/common
parentMerge pull request #1679 (diff)
parentextract some basic code from libcryptonote_core into libcryptonote_basic (diff)
downloadmonero-d1b31c0f45168b1481f64a97653fd7fd8b95c661.tar.xz
Merge pull request #1626
8027ce0c extract some basic code from libcryptonote_core into libcryptonote_basic (kenshi84)
Diffstat (limited to '')
-rw-r--r--src/common/CMakeLists.txt1
-rw-r--r--src/common/dns_utils.cpp2
-rw-r--r--src/common/dns_utils.h2
3 files changed, 3 insertions, 2 deletions
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 <cstring>
#include <sstream>
// 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 <vector>
#include <string>
-#include "cryptonote_core/cryptonote_basic.h"
+#include "cryptonote_basic/cryptonote_basic.h"
namespace tools
{