aboutsummaryrefslogtreecommitdiff
path: root/src/common/stack_trace.cpp
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/stack_trace.cpp
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/stack_trace.cpp')
-rw-r--r--src/common/stack_trace.cpp5
1 files changed, 3 insertions, 2 deletions
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"