aboutsummaryrefslogtreecommitdiff
path: root/src/common/stack_trace.cpp
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/stack_trace.cpp
parentMerge pull request #2159 (diff)
downloadmonero-214fd81e9362f183603bacdb671e06192dcb5808.tar.xz
some include cleanup
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"