diff options
| author | Maxime Coste <mawww@kakoune.org> | 2024-08-26 20:23:29 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-08-26 20:23:32 +1000 |
| commit | 202747e68896aebbe38cc160391629e020f0c2a1 (patch) | |
| tree | 0404d94cf43cc6940816436de83b94caa67b8823 /src | |
| parent | d1554b969ee5581ed009096c0ab39b40e1ab819c (diff) | |
Fix includes for debug build
Looks like we've been over eager with removing unused includes and
did not realize they were only unused in optimized builds.
Diffstat (limited to 'src')
| -rw-r--r-- | src/json.cc | 1 | ||||
| -rw-r--r-- | src/main.cc | 2 | ||||
| -rw-r--r-- | src/safe_ptr.hh | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/json.cc b/src/json.cc index 93ffdcc4..6b297dff 100644 --- a/src/json.cc +++ b/src/json.cc @@ -4,6 +4,7 @@ #include "string_utils.hh" #include "unit_tests.hh" #include "utils.hh" +#include "ranges.hh" #include <algorithm> #include <cstdio> diff --git a/src/main.cc b/src/main.cc index caf35fe0..69a71631 100644 --- a/src/main.cc +++ b/src/main.cc @@ -17,6 +17,7 @@ #include "terminal_ui.hh" #include "option_types.hh" #include "parameters_parser.hh" +#include "profile.hh" #include "ranges.hh" #include "regex.hh" #include "register_manager.hh" @@ -25,6 +26,7 @@ #include "shared_string.hh" #include "shell_manager.hh" #include "string.hh" +#include "unit_tests.hh" #include "window.hh" #include <fcntl.h> diff --git a/src/safe_ptr.hh b/src/safe_ptr.hh index d08a9a79..216a14ff 100644 --- a/src/safe_ptr.hh +++ b/src/safe_ptr.hh @@ -3,6 +3,7 @@ // #define SAFE_PTR_TRACK_CALLSTACKS +#include "assert.hh" #include "ref_ptr.hh" #ifdef SAFE_PTR_TRACK_CALLSTACKS |
