summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2016-12-03 13:18:11 +0000
committerMaxime Coste <mawww@kakoune.org>2016-12-03 13:18:11 +0000
commite2fae522e59522f56ae434b108ffd15393676927 (patch)
tree64a7d7d3762e0d3f2abfa31c99774f02da574ca2 /src
parentbc8c5522e2e20a68a089265ee5794e7b0c4a93a3 (diff)
Small include fix
Diffstat (limited to 'src')
-rw-r--r--src/main.cc1
-rw-r--r--src/safe_ptr.hh2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index 0a72b7e6..254416eb 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -1,5 +1,6 @@
#include "assert.hh"
#include "buffer.hh"
+#include "backtrace.hh"
#include "buffer_manager.hh"
#include "buffer_utils.hh"
#include "client_manager.hh"
diff --git a/src/safe_ptr.hh b/src/safe_ptr.hh
index b9f53709..bafa1434 100644
--- a/src/safe_ptr.hh
+++ b/src/safe_ptr.hh
@@ -5,12 +5,12 @@
#include "assert.hh"
#include "ref_ptr.hh"
-#include "backtrace.hh"
#include <type_traits>
#include <utility>
#ifdef SAFE_PTR_TRACK_CALLSTACKS
+#include "backtrace.hh"
#include "vector.hh"
#include <algorithm>
#endif