aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-31 16:36:52 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-31 16:36:52 +0100
commit214fd81e9362f183603bacdb671e06192dcb5808 (patch)
tree9c5700af7dc8a1915892928fd9189b9cf99065e8 /src/common
parentMerge pull request #2159 (diff)
downloadmonero-214fd81e9362f183603bacdb671e06192dcb5808.tar.xz
some include cleanup
Diffstat (limited to 'src/common')
-rw-r--r--src/common/dns_utils.h1
-rw-r--r--src/common/stack_trace.cpp5
-rw-r--r--src/common/stack_trace.h1
3 files changed, 3 insertions, 4 deletions
diff --git a/src/common/dns_utils.h b/src/common/dns_utils.h
index 53c0c1c7b..f304ebe8f 100644
--- a/src/common/dns_utils.h
+++ b/src/common/dns_utils.h
@@ -29,7 +29,6 @@
#include <vector>
#include <string>
-#include "cryptonote_basic/cryptonote_basic.h"
namespace tools
{
diff --git a/src/common/stack_trace.cpp b/src/common/stack_trace.cpp
index ef64c20c5..6fdf4dd47 100644
--- a/src/common/stack_trace.cpp
+++ b/src/common/stack_trace.cpp
@@ -30,8 +30,7 @@
#define USE_UNWIND
#endif
-#include "common/stack_trace.h"
-#include "misc_log_ex.h"
+#include <stdexcept>
#ifdef USE_UNWIND
#define UNW_LOCAL_ONLY
#include <libunwind.h>
@@ -40,6 +39,8 @@
#ifndef STATICLIB
#include <dlfcn.h>
#endif
+#include "common/stack_trace.h"
+#include "misc_log_ex.h"
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "stacktrace"
diff --git a/src/common/stack_trace.h b/src/common/stack_trace.h
index 25eec9fb3..0f6bdc08b 100644
--- a/src/common/stack_trace.h
+++ b/src/common/stack_trace.h
@@ -29,7 +29,6 @@
#ifndef MONERO_EXCEPTION_H
#define MONERO_EXCEPTION_H
-#include <stdexcept>
#include <string>
namespace tools