aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-07 15:13:07 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-07 15:13:07 +0200
commitea46a5527a26eab8dbf664396c8186031b7d50b3 (patch)
tree89bdc857790b852a1a3964292a69dd77de310c0a /src/common
parentMerge pull request #2230 (diff)
parentsome include cleanup (diff)
downloadmonero-ea46a5527a26eab8dbf664396c8186031b7d50b3.tar.xz
Merge pull request #2234
214fd81e some include cleanup (moneromooo-monero)
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 69b32f435..61e1358ca 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